[alsa-devel] Fixing the AICA driver
tiwai at suse.de
Wed Jan 7 12:02:25 CET 2009
At Mon, 29 Dec 2008 19:20:16 +0000,
Adrian McMenamin wrote:
> It's about a year since I last mentioned this so I thought I'd give it
> another go...
> But the AICA sound driver I wrote for the Dreamcast still won't work
> properly with a pure ALSA setup and I don't know why.
> It works when OSS emulation is on so it appears to be some sort of
> interaction with the ALSA lib layer.
> The snd-summy driver also appears to work well with a 'pure' ALSA setup,
> but when (for instance) I try to replay an MP3 track without OSS
> emulation on I get this:
> Playing MPEG stream from ms.mp3 ...
> MPEG 1.0, Layer: III, Freq: 44100, mode: Joint-Stereo, modext: 2, BPF :
> Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
> Bitrate: 128 Kbits/s, Extension value: 2
> Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2
> ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find
> an usable access for 'default'
> ALSA snd_pcm_hw_params_set_access error: Invalid argument
> Can't find a suitable libao driver. (Is device in use?)
Looks like about the access type. Since your driver doesn't support
interleaved format but also doesn't mmap, the plug conversion doesn't
work (with the older version).
Could you try the git version? I thought I fixed the relevant bug recently.
More information about the Alsa-devel