summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-08-01 09:20:47 +0000
committerroger <roger@FreeBSD.org>2000-08-01 09:20:47 +0000
commitffdffa1b0260cc28e77492b84bbd12f971315feb (patch)
treeaa2bbaf4f6f7c2870d2b2e4523ddce18768da0da
parent2c6cfc2f620fe8a98fdbe3e5bf4f74b63f0eb6cf (diff)
downloadFreeBSD-ports-ffdffa1b0260cc28e77492b84bbd12f971315feb.zip
FreeBSD-ports-ffdffa1b0260cc28e77492b84bbd12f971315feb.tar.gz
Add patch to allow selection of the 'VIDEO' audio input on newer
sound cards Submitted by: Mike Meyer <mwm@mired.org>
-rw-r--r--graphics/fxtv/files/patch-aa16
-rw-r--r--multimedia/fxtv/files/patch-aa16
2 files changed, 32 insertions, 0 deletions
diff --git a/graphics/fxtv/files/patch-aa b/graphics/fxtv/files/patch-aa
new file mode 100644
index 0000000..364d099
--- /dev/null
+++ b/graphics/fxtv/files/patch-aa
@@ -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;
diff --git a/multimedia/fxtv/files/patch-aa b/multimedia/fxtv/files/patch-aa
new file mode 100644
index 0000000..364d099
--- /dev/null
+++ b/multimedia/fxtv/files/patch-aa
@@ -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;
OpenPOWER on IntegriCloud