I can't get audio to work on Linux(Ubuntu 9.04), any help appreciated.

If I launch it from build/linux as bin/squeezeplay.sh the result in the
log is:
===================
20091120 05:29:11.648 DEBUG  audio.output - decode_alsa_init:268
Playback device: default
20091120 05:29:11.648 DEBUG  audio.output - decode_alsa_fork:145 fork
jive_alsa -v -d default -c default -b 30000 -p 3 -s 16 -f 3 
20091120 05:29:11.648 ERROR  audio.output - decode_alsa_fork:165 execv
failed 2
20091120 05:29:12.148 ERROR  audio.output - decode_alsa_fork:180
jive_alsa failed to start
===================

If I launch it from build/linux/bin as ./squeezeplay.sh the result in
the log is:
==================
20091120 05:31:10.793 DEBUG  audio.output - decode_alsa_init:268
Playback device: default
20091120 05:31:10.793 DEBUG  audio.output - decode_alsa_fork:145 fork
jive_alsa -v -d default -c default -b 30000 -p 3 -s 16 -f 3 
20091120 05:31:10.825 DEBUG  pcm_test:672 max sample rate 192000
20091120 05:31:10.826 INFO   decode_realtime_process:933 Can't set
audio thread priority
20091120 05:31:10.827 DEBUG  audio_thread_execute:698
audio_thread_execute
20091120 05:31:10.837 INFO   squeezeplay.applets -
AppletManager.lua:317 Registering: SetupSoundEffects
20091120 05:31:10.841 ERROR  _pcm_open:513 Access type not available:
Invalid argument
20091120 05:31:10.841 ERROR  audio_thread_execute:714 Playback open
failed: Invalid argument
20091120 05:31:10.841 ERROR  audio_thread_execute:912 Audio thread
exited

...

20091120 05:31:13.846 DEBUG  audio.output - decode_alsa_start:56
decode_alsa_start
20091120 05:31:13.846 ERROR  audio.output - decode_alsa_check_pids:48
exit, playback child is dead
==================

If I manually launch jive_alsa when standing in the bin directory as "
./jive_alsa -v -d default -c default -b 30000 -p 3 -s 16 -f 3" I get:
==================
./jive_alsa: error while loading shared libraries: libportaudio.so.2:
cannot open shared object file: No such file or directory
==================

"ls -l /usr/lib|grep libportaudio" gives
=================
lrwxrwxrwx  1 root root       22 2008-11-12 07:20 libportaudio.so.0 ->
libportaudio.so.0.0.18
-rw-r--r--  1 root root    28320 2007-04-27 17:36
libportaudio.so.0.0.18
lrwxrwxrwx  1 root root       21 2009-11-20 06:25 libportaudio.so.2 ->
libportaudio.so.2.0.0
-rw-r--r--  1 root root   175800 2008-03-12 02:24
libportaudio.so.2.0.0
=================

Does anyone have a clue how to solve it ?
Does it work for anyone else when starting from a terminal prompt ?

Squeezeplay is compiled on a 32-bit Ubuntu while I run it on 64-bit,
could this be the issue ?
The reason I compile it on 32 bit is that I only like to add the
runtime dependences (not all the compilation dependencies) on my
ordinary desktop where I run it


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=69904

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to