Skip to content

Commit

Permalink
[ALSA] Add ALSA support for the SEGA Dreamcast PCM device
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
Adrian McMenamin authored and Jaroslav Kysela committed Jul 20, 2007
1 parent aef3b06 commit 198de43
Show file tree
Hide file tree
Showing 6 changed files with 780 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ source "sound/arm/Kconfig"

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"
Expand Down
2 changes: 1 addition & 1 deletion sound/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o
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
Expand Down
14 changes: 14 additions & 0 deletions sound/sh/Kconfig
Original file line number Diff line number Diff line change
@@ -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

8 changes: 8 additions & 0 deletions sound/sh/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Makefile for ALSA
#

snd-aica-objs := aica.o

# Toplevel Module Dependency
obj-$(CONFIG_SND_AICA) += snd-aica.o
Loading

0 comments on commit 198de43

Please sign in to comment.