mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +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:
parent
70f64db2cb
commit
cd81a605e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31194
16
graphics/fxtv/files/patch-aa
Normal file
16
graphics/fxtv/files/patch-aa
Normal 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;
|
16
multimedia/fxtv/files/patch-aa
Normal file
16
multimedia/fxtv/files/patch-aa
Normal 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;
|
Loading…
Reference in New Issue
Block a user