1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add patch to allow selection of the 'VIDEO' audio input on newer

sound cards

Submitted by:	Mike Meyer <mwm@mired.org>
This commit is contained in:
Roger Hardiman 2000-08-01 09:20:47 +00:00
parent 70f64db2cb
commit cd81a605e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31194
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- tvaudio.c-orig Sat Oct 16 19:29:16 1999
+++ tvaudio.c Mon Jul 31 19:23:57 2000
@@ -104,6 +104,13 @@
Mixer_dev_mask = SOUND_MASK_MIC;
Mixer_dev_name = "LINE";
}
+#ifdef SOUND_MIXER_VIDEO
+ else if ( STREQ( buf, "VIDEO" ) ) {
+ Mixer_dev_id = SOUND_MIXER_VIDEO;
+ Mixer_dev_mask = SOUND_MASK_VIDEO;
+ Mixer_dev_name = "VIDEO";
+ }
+#endif
else {
Mixer_dev_id = SOUND_MIXER_LINE;
Mixer_dev_mask = SOUND_MASK_LINE;

View File

@ -0,0 +1,16 @@
--- tvaudio.c-orig Sat Oct 16 19:29:16 1999
+++ tvaudio.c Mon Jul 31 19:23:57 2000
@@ -104,6 +104,13 @@
Mixer_dev_mask = SOUND_MASK_MIC;
Mixer_dev_name = "LINE";
}
+#ifdef SOUND_MIXER_VIDEO
+ else if ( STREQ( buf, "VIDEO" ) ) {
+ Mixer_dev_id = SOUND_MIXER_VIDEO;
+ Mixer_dev_mask = SOUND_MASK_VIDEO;
+ Mixer_dev_name = "VIDEO";
+ }
+#endif
else {
Mixer_dev_id = SOUND_MIXER_LINE;
Mixer_dev_mask = SOUND_MASK_LINE;