When running, as a user with audio group permissions: > liquidsoap 'output.alsa(sine())'
Liquidsoap refuses to play. It gives this rather verbose but unhelpful error: 2015/01/08 18:39:55 [main:2] 2015/01/08 18:39:55 [main:2] Please send any bug report or feature request 2015/01/08 18:39:55 [main:2] at <https://github.com/savonet/liquidsoap/issues>. 2015/01/08 18:39:55 [main:2] 2015/01/08 18:39:55 [main:2] We hope you enjoy this snapshot build of Liquidsoap! 2015/01/08 18:39:55 [main:2] 2015/01/08 18:39:55 [dynamic.loader:3] Could not find dynamic module for aacplus encoder. 2015/01/08 18:39:55 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/scm/plugins. 2015/01/08 18:39:55 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. 2015/01/08 18:39:55 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2015/01/08 18:39:55 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2015/01/08 18:39:55 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2015/01/08 18:39:55 [threads:3] Created thread "generic queue #1". 2015/01/08 18:39:55 [threads:3] Created thread "generic queue #2". 2015/01/08 18:39:55 [threads:3] Created thread "alsa_out(default)" (1 total). 2015/01/08 18:39:55 [threads:3] Created thread "wallclock_alsa" (2 total). 2015/01/08 18:39:55 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources. 2015/01/08 18:39:55 [alsa_out(default):3] Using ALSA 1.0.25. 2015/01/08 18:39:55 [threads:1] Thread "alsa_out(default)" aborts with exception Alsa error: No such device or address! 2015/01/08 18:39:56 [threads:3] Raised by primitive operation at file "", line 0, characters 0-0 Thread 4 killed on uncaught exception Alsa.Unknown_error(6) 2015/01/08 18:39:56 [main:3] Shutdown started! 2015/01/08 18:39:57 [main:3] Waiting for threads to terminate... 2015/01/08 18:39:57 [clock.wallclock_alsa:3] Streaming loop stopped. 2015/01/08 18:39:57 [threads:3] Thread "wallclock_alsa" terminated (0 remaining). 2015/01/08 18:39:57 [main:3] Cleaning downloaded files... 2015/01/08 18:39:57 [main:3] Freeing memory... No such file or device? But but but... it's right there! > aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: CX20641 Analog [CX20641 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 [ken@airtime ~]$ Playing music with ogg123 works perfectly, as does aplay. Same user. I have not been able to find out what "Alsa.Unknown_error(6)" is, but I suppose it is a reference to the 'no such device or address" above it. I found some mention of someone else having this problem in the list archives, but it gave a non-answer misdirecting with talk about file permissions. The file permissions are not an issue. With the *same user*, ogg123 works, liquidsoap fails. It's nothing to do with permissions. Same user. Something else is wrong and I don't know what it could be. By the way, this is with ii liquidsoap 1.1.1~precise~sfo-2 audio streaming language -ken ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
