Fixing my sound driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am still trying to find out what is wrong with my sound driver - for
the Sega Dreamcast (sound/sh/aica.c). This works perfectly with the
OSS emulation layer but will not work with the ALSA layer per se.

As this shows - there is something wrong with how it interacts with
the PCM layer of alsa-lib:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AICA [AICA], device 0: AICA PCM [AICA PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$
$
$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)


I have no reason to think that my build of alsa-lib is wrong - both
the automagic buildroot build and my own by-hand build behave the same
way.

So therefore I assume it must be something in the driver?!

Some questions:

The driver implements nothing for capture (the AICA device is pure
playback) - could that have an effect?

What information must the driver pass to the PCM layer?

What could make the alsa-lib layer detect the card but then report
"null" is the only PCM device?

Adrian
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux