At Wed, 12 Apr 2006 08:01:50 +0200,
Ákos Maróy wrote:
>
> Takashi Iwai wrote:
> > The "default" PCM already uses dsnoop (since ALSA 1.0.11), so you can
>
> as I'm usng ALSA 1.0.11, I'm experimenting with setting up dsnoop
> explicitly.
Why?
> but it just doesn't seem to work.
>
> here's how I try:
>
> pcm.mono_channel1_dsnoop {
> type dsnoop
> ipc_key 12345
> ipc_key_add_uid false
> slave {
> pcm ice1712
> channels 1
> rate 44100
> period_time 0
> period_size 1024
> buffer_size 8192
> }
> bindings {
> 0 0
> }
> }
>
>
> but I always get the following when I try to use this approach:
>
> ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave) requested or
> auto-format is not available
The default format for dsnoop is S16, and ice1712 supports only
S32_LE. You have to set the format parameter in slave pcm of dsnoop,
too.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user