Re: [LAD] Opening ALSA devices (hardware and PCM)

2010-06-08 Thread Clemens Ladisch
Julien Claassen wrote: I was wondering, is there a difference in opening a device like plughw:0,0 and plug:pcm.my_own_device If my_own_device is defined as a hw device, no. I've looked in the code of aplay aplay is more a debugging tool for driver than an example for application

Re: [LAD] Opening ALSA devices (hardware and PCM)

2010-06-08 Thread Julien Claassen
Hello Clemens! the asterisk logs only show, that it can't open the device. I tried to put in some extra debug info, but it simply likes to fail with pcm_open. Still from what Fons said, I've given up the ALSA jack_plug as a bad job and would like to concentrate instead on the JACK

[LAD] Opening ALSA devices (hardware and PCM)

2010-06-07 Thread Julien Claassen
Good evening everyone! I was wondering, is there a difference in opening a device like plughw:0,0 and plug:pcm.my_own_device I've looked in the code of aplay, but small as this tool is, it contains still a good deal of functionality, so it seems. I've compared it to the other code in