[PlanetCCRMA] alsa-lib-jack-plugin

David Fraser davidf@sjsoft.com
Thu Dec 30 09:47:01 2004


Fernando Lopez-Lezcano wrote:

>On Wed, 2004-12-29 at 07:41, Janina Sajka wrote:
>  
>
>>Attempts to play something:
>>
>>'aplay -D jackplug file.wav' yields:
>>
>>ALSA lib pcm.c:1944:(snd_pcm_open_conf) Cannot open shared library
>>/usr/lib/alsa-lib/libasound_module_pcm_jack.so
>>aplay: main:508: audio open error: No such file or directory
>>
>>Indeed, there's not even an /usr/lib/alsa-lib/ directory. How is that
>>possible?
>>    
>>
>You need to install the alsa jack plugin (I have never tried to use it
>so I don't know if it will work at all):
>
>  apt-get install alsa-lib-jack-plugin
>  
>
I've been trying to use the alsa-lib-jack-plugin recently ...
It seems to works fine for me with the example configuration from 
http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?module=Generic
alsaplayer can play things find through -D jackplug
This is great for being able to leave jack running when not doing heavy 
multimedia work, just playing background music.

However, it doesn't seem to work with music player daemon (mpd), my 
preferred music player.
I get errors like this:
ALSA snd_pcm_hw_params error: Invalid argument
Dec 30 19:44 : problems opeing audio device while playing "By Your 
Side/By Your Side.ogg"

I'll have to investigate further and sort it out, but apart from that 
alsa-lib-jack-plugin is a great idea

David