(i forgot the list)
Hi Cong, that is the expected behaviour of Jack.
On 18/04/2011, cong fu fc4976@gmail.com wrote: [...]
sudo /usr/bin/jackd -r -m -dalsa -dhw:0 -r44100 -p1024 -n2 -P
I'm pretty sure you don't need to run it with root prileges. Add something like this to /etc/security/limits.conf :
@audio - rtprio 99 #@audio - memlock 5000000 @audio - nice -10 @audio - memlock 378909
If your user is not member of the 'audio' group add yourself, logout and login for changes to take effect.
So how can I play sound with JACK started?
Tell your application to use jack for output. With mplayer for example add '-ao jack'. There's also an alsa plugin, see this:
http://alsa-project.org/main/index.php/Asoundrc#JACK_plugin
-- Adrian. http://ovejafm.com http://elesquinazotango.com.ar