Add ALSA support for the SEGA Dreamcast PCM device
PATCH 1/1 Add ALSA support for the SEGA Dreamcast PCM device
Incorporating further small changes to tidy the code, please commit if ok.
ALSA support for the SEGA Dreamcast Yamaha AICA sound device (pcm)
This patch adds ALSA sound support for pcm playback on two channels on the SEGA Dreamcast built-in sound device (the Yamaha AICA)
Add driver for the AICA sound device built into the SEGA Dreamcast
Hook it all up with the build system.
Signed-off-by Adrian McMenamin <[email protected]>
linux-2.6.21/sound/Kconfig renamed from linux-2.6.21-orig/sound/Kconfig +2 -0
@@ -64,6 +64,8 @@ source "sound/mips/Kconfig" +source "sound/sh/Kconfig" + # the following will depend on the order of config. # here assuming USB is defined before ALSA source "sound/usb/Kconfig"
linux-2.6.21/sound/Makefile renamed from linux-2.6.21-orig/sound/Makefile +1 -1
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o obj-$(CONFIG_SOUND_PRIME) += oss/ obj-$(CONFIG_DMASOUND) += oss/ -obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/ +obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/ obj-$(CONFIG_SND_AOA) += aoa/ # This one must be compilable even if sound is configured out
linux-2.6.21/sound/sh/aica.c renamed from linux-2.6.21-orig/sound/sh/aica.c +675 -0
675 lines not on this page · raw message
linux-2.6.21/sound/sh/aica.h renamed from linux-2.6.21-orig/sound/sh/aica.h +80 -0
80 lines not on this page · raw message
linux-2.6.21/sound/sh/Kconfig renamed from linux-2.6.21-orig/sound/sh/Kconfig +14 -0
@@ -0,0 +1,14 @@ +# ALSA SH drivers + +menu "SUPERH devices" + depends on SND!=n && SUPERH + +config SND_AICA + tristate "Dreamcast Yamaha AICA sound" + depends on SH_DREAMCAST && SND + select SND_PCM + help + ALSA Sound driver for the SEGA Dreamcast console. + +endmenu +
linux-2.6.21/sound/sh/Makefile renamed from linux-2.6.21-orig/sound/sh/Makefile +8 -0
@@ -0,0 +1,8 @@ +# +# Makefile for ALSA +# + +snd-aica-objs := aica.o + +# Toplevel Module Dependency +obj-$(CONFIG_SND_AICA) += snd-aica.o
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel