Hello
I'm trying to run several audio applications at once.
I mean, if I run mplayer and mpg321 at the same time, I can listen to both; there are some applications that cannot work like this though.
Some do not start until the audio device is available, and get hold of the device when they start, so that the device become unavailable.
How can I run those applications at once?
I thought I could use JACK, but I can't understand how am I supposed to use it...
Code:
# jackd -R -d alsa
jackd 0.101.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
Code:
# alsaplayer -o jack audio_04.wav
Failed to load output plugin "jack". Trying defaults.
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: Dispositivo o risorsa occupata (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!
Any help?
Linux: 2.6.18
alsa is compiled from source (1.0.13)
Jack is installed from the debian package:
# jackd --version
jackd version 0.101.1 tmpdir /dev/shm protocol 15