diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-31 15:12:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-31 15:12:45 -0300 |
commit | f95e98a1d581ce9770a01fd43d1a8e61161a8e46 (patch) | |
tree | 646d2a7875583b08c610629bec9537aa0deb438e /v4l | |
parent | 536149a42a489ca35bbb426f69504f58147152c8 (diff) | |
download | mediapointer-dvb-s2-f95e98a1d581ce9770a01fd43d1a8e61161a8e46.tar.gz mediapointer-dvb-s2-f95e98a1d581ce9770a01fd43d1a8e61161a8e46.tar.bz2 |
Added audio-related stuff used on a few multimedia boards
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Those files are not part of V4L stuff. However, they are or dependent of V4L
apis or used on some video boards.
After this patch, it will be possible to compile and test they against changes
at V4L API or drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/Kconfig.sound | 91 | ||||
-rw-r--r-- | v4l/Makefile.sound | 14 | ||||
-rwxr-xr-x | v4l/scripts/make_kconfig.pl | 2 |
3 files changed, 107 insertions, 0 deletions
diff --git a/v4l/Kconfig.sound b/v4l/Kconfig.sound new file mode 100644 index 000000000..cab280c40 --- /dev/null +++ b/v4l/Kconfig.sound @@ -0,0 +1,91 @@ +menu "Audio devices for multimedia" + +# This is part of sound/pci/Kconfig +comment "ALSA sound" + +config SND_BT87X + tristate "Bt87x Audio Capture" + depends on SND + select SND_PCM + help + If you want to record audio from TV cards based on + Brooktree Bt878/Bt879 chips, say Y here and read + <Documentation/sound/alsa/Bt87x.txt>. + + To compile this driver as a module, choose M here: the module + will be called snd-bt87x. + +config SND_BT87X_OVERCLOCK + bool "Bt87x Audio overclocking" + depends on SND_BT87X + help + Say Y here if 448000 Hz isn't enough for you and you want to + record from the analog input with up to 1792000 Hz. + + Higher sample rates won't hurt your hardware, but audio + quality may suffer. + +config SND_FM801 + tristate + depends on SND && SND_OPL3_LIB && SND_MPU401_UART && SND_AC97_CODEC + +config SND_FM801_TEA575X_BOOL + bool + depends on SND_FM801 + +config SND_FM801_TEA575X + tristate "ForteMedia FM801 TEA5757 tuner" + depends on VIDEO_V4L1 && SND_FM801 + select SND_FM801_TEA575X_BOOL + + help + Say Y here to include support for soundcards based on the ForteMedia + FM801 chip with a TEA5757 tuner connected to GPIO1-3 pins (Media + Forte SF256-PCS-02) into the snd-fm801 driver. + + This will enable support for the old V4L1 API. + +# This is part of sound/oss/Kconfig +comment "OSS sound" + +config SOUND_BT878 + tristate "BT878 audio dma" + depends on SOUND_PRIME && PCI + ---help--- + Audio DMA support for bt878 based grabber boards. As you might have + already noticed, bt878 is listed with two functions in /proc/pci. + Function 0 does the video stuff (bt848 compatible), function 1 does + the same for audio data. This is a driver for the audio part of + the chip. If you say 'Y' here you get a oss-compatible dsp device + where you can record from. If you want just watch TV you probably + don't need this driver as most TV cards handle sound with a short + cable from the TV card to your sound card's line-in. + + To compile this driver as a module, choose M here: the module will + be called btaudio. + +config SOUND_ACI_MIXER + tristate "ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)" + depends on SOUND_OSS + ---help--- + ACI (Audio Command Interface) is a protocol used to communicate with + the microcontroller on some sound cards produced by miro and + Cardinal Technologies. The main function of the ACI is to control + the mixer and to get a product identification. + + This VoxWare ACI driver currently supports the ACI functions on the + miroSOUND PCM1-pro, PCM12 and PCM20 radio. On the PCM20 radio, ACI + also controls the radio tuner. This is supported in the video4linux + miropcm20 driver (say M or Y here and go back to "Multimedia + devices" -> "Radio Adapters"). + + This driver is also available as a module and will be called aci. + +config SOUND_TVMIXER + tristate "TV card (bt848) mixer support" + depends on SOUND_PRIME && I2C && VIDEO_V4L1 + help + Support for audio mixer facilities on the BT848 TV frame-grabber + card. + +endmenu diff --git a/v4l/Makefile.sound b/v4l/Makefile.sound new file mode 100644 index 000000000..157a75ec4 --- /dev/null +++ b/v4l/Makefile.sound @@ -0,0 +1,14 @@ +# From sound/pci/Makefile + +snd-bt87x-objs := bt87x.o +obj-$(CONFIG_SND_BT87X) += snd-bt87x.o + +# From sound/oss/Makefile + +obj-$(CONFIG_SOUND_ACI_MIXER) += aci.o +obj-$(CONFIG_SOUND_BT878) += btaudio.o + +# From sound/i2c/other/Makefile +snd-tea575x-tuner-objs := tea575x-tuner.o +obj-$(CONFIG_SND_FM801_TEA575X) += snd-tea575x-tuner.o + diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl index c43baeb74..c44914501 100755 --- a/v4l/scripts/make_kconfig.pl +++ b/v4l/scripts/make_kconfig.pl @@ -377,6 +377,8 @@ config VIDEO_KERNEL_VERSION EOF open_kconfig ("../linux","../linux/drivers/media/Kconfig"); + +print OUT "source Kconfig.sound\n"; close OUT; while ( my ($key, $value) = each(%config) ) { |