1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/multimedia/fxtv/files/patch-aa
Roger Hardiman cd81a605e1 Add patch to allow selection of the 'VIDEO' audio input on newer
sound cards

Submitted by:	Mike Meyer <mwm@mired.org>
2000-08-01 09:20:47 +00:00

17 lines
495 B
Plaintext

--- 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;