2015/12/11 21:39:37 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5
2015/12/11 21:39:37 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2015/12/11 21:39:37 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ao.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/portaudio.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/opus.cmxs.
2015/12/11 21:39:37 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
2015/12/11 21:39:37 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2015/12/11 21:39:37 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2015/12/11 21:39:37 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2015/12/11 21:39:37 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2015/12/11 21:39:37 [lang:3] ALSA
2015/12/11 21:39:37 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
2015/12/11 21:39:37 [threads:3] Created thread "generic queue #1".
2015/12/11 21:39:37 [threads:3] Created thread "generic queue #2".
2015/12/11 21:39:37 [threads:3] Created thread "non-blocking queue #1".
2015/12/11 21:39:37 [threads:3] Created thread "non-blocking queue #2".
2015/12/11 21:39:37 [threads:3] Created thread "http polling" (1 total).
2015/12/11 21:39:37 [threads:3] Created thread "alsa_out(default)" (2 total).
2015/12/11 21:39:37 [threads:3] Created thread "wallclock_alsa" (3 total).
2015/12/11 21:39:37 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources.
2015/12/11 21:39:37 [dummy:3] Source failed (no more tracks) stopping output...
2015/12/11 21:39:37 [dummy(dot)1:3] Source failed (no more tracks) stopping output...
2015/12/11 21:39:37 [dummy(dot)2:3] Source failed (no more tracks) stopping output...
2015/12/11 21:39:37 [map_metadata_6559:3] Inserting missing metadata.
2015/12/11 21:39:37 [schedule_noise_switch:3] Switch to map_metadata_6559.
2015/12/11 21:39:37 [alsa_out(default):3] Using ALSA 1.0.27.2.
2015/12/11 21:39:37 [alsa_out(default):2] Falling back on interleaved S16LE
2015/12/11 21:39:37 [threads:1] Thread "alsa_out(default)" aborts with exception Alsa error: Invalid argument!
2015/12/11 21:39:37 [main:3] Shutdown started!
2015/12/11 21:39:37 [main:3] Waiting for threads to terminate...
2015/12/11 21:39:37 [stderr:3] Thread 7 killed on uncaught exception Alsa.Invalid_argument
2015/12/11 21:39:37 [clock.wallclock_alsa:3] Streaming loop stopped.
2015/12/11 21:39:37 [threads:3] Thread "wallclock_alsa" terminated (1 remaining).
2015/12/11 21:39:38 [server:3] New client: localhost.
2015/12/11 21:39:38 [server:3] Client localhost disconnected.
2015/12/11 21:39:38 [server:3] New client: localhost.
2015/12/11 21:39:38 [lang:3] streams.scheduled_play_start
2015/12/11 21:39:38 [lang:3] streams.live_dj_stop
airtime-test-soundcard -v
Sound API: alsa
Outputting to soundcard. You should be able to hear a monotonous tone. Press ctrl-c to quit.
2015/12/14 20:36:03 >>> LOG START
2015/12/14 20:36:03 [protocols.external:3] Found "/usr/bin/wget".
2015/12/14 20:36:03 [main:3] Liquidsoap 1.1.1
2015/12/14 20:36:03 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5
2015/12/14 20:36:03 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2015/12/14 20:36:03 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ao.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/portaudio.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/opus.cmxs.
2015/12/14 20:36:03 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
2015/12/14 20:36:03 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2015/12/14 20:36:03 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2015/12/14 20:36:03 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2015/12/14 20:36:03 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2015/12/14 20:36:03 [threads:3] Created thread "generic queue #1".
2015/12/14 20:36:03 [threads:3] Created thread "generic queue #2".
2015/12/14 20:36:03 [threads:3] Created thread "alsa_out(default)" (1 total).
2015/12/14 20:36:03 [threads:3] Created thread "wallclock_alsa" (2 total).
2015/12/14 20:36:03 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources.
2015/12/14 20:36:03 [alsa_out(default):3] Using ALSA 1.0.27.2.
2015/12/14 20:36:03 [alsa_out(default):2] Falling back on interleaved S16LE
2015/12/14 20:36:03 [threads:1] Thread "alsa_out(default)" aborts with exception Alsa error: Invalid argument!
Thread 4 killed on uncaught exception Alsa.Invalid_argument
2015/12/14 20:36:03 [main:3] Shutdown started!
2015/12/14 20:36:04 [main:3] Waiting for threads to terminate...
2015/12/14 20:36:04 [clock.wallclock_alsa:3] Streaming loop stopped.
2015/12/14 20:36:04 [threads:3] Thread "wallclock_alsa" terminated (0 remaining).
2015/12/14 20:36:04 [main:3] Cleaning downloaded files...
2015/12/14 20:36:04 [main:3] Freeing memory...
2015/12/14 20:36:04 >>> LOG END
There was an error using the selected sound API. Please select a different API and run this program again. Use the -h option for help
killall pulseaudio
After that run
ps -C pulseaudio
to check if pulseaudio is still running. If you back something similar to:
PID TTY TIME CMD
17065 ? 00:00:02 pulseaudio
Then pulse audio is still running, however if you get back:
PID TTY TIME CMD
pulseaudio is dead
Do not remove pulseaudio as older post recommend ,you might experience some real bad circumstances since pulse is intertwine with almost everything in debian flavors.
install gnome-alsamixer as your volume control
then test this way at the terminal instead
liquidsoap -v --debug 'output.alsa(bufferize = false,
input.alsa(bufferize = false))'
kghp@dtphs302709kghp:/root$ liquidsoap -v --debug 'output.alsa(bufferize = false,
> input.alsa(bufferize = false))'
2015/12/15 20:10:56 >>> LOG START
2015/12/15 20:10:56 [protocols.external:3] Found "/usr/bin/wget".
2015/12/15 20:10:56 [main:3] Liquidsoap 1.1.1
2015/12/15 20:10:56 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5
2015/12/15 20:10:56 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2015/12/15 20:10:56 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ao.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/portaudio.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/opus.cmxs.
2015/12/15 20:10:56 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
2015/12/15 20:10:56 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2015/12/15 20:10:56 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2015/12/15 20:10:56 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2015/12/15 20:10:56 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2015/12/15 20:10:56 [video.converter:4] Couldn't find preferred video converter: gavl.
2015/12/15 20:10:56 [audio.converter:4] Couldn't find preferred samplerate converter: libsamplerate.
2015/12/15 20:10:56 [audio.converter:4] Using native samplerate converter
2015/12/15 20:10:56 [threads:3] Created thread "generic queue #1".
2015/12/15 20:10:56 [threads:3] Created thread "generic queue #2".
2015/12/15 20:10:56 [clock:4] Currently 1 clocks allocated.
2015/12/15 20:10:56 [clock.wallclock_alsa:4] Starting 2 sources...
2015/12/15 20:10:56 [source:4] Source alsa_5040 gets up.
2015/12/15 20:10:56 [clock.wallclock_alsa:4] Delegating clock to active sources.
2015/12/15 20:10:56 [alsa_in(default):3] Using ALSA 1.0.27.2.
2015/12/15 20:10:56 [alsa_in(default):2] Falling back on interleaved S16LE
2015/12/15 20:10:56 [clock.wallclock_alsa:2] Error when starting alsa_in(default): Failure("Error while setting format: Invalid argument")!
2015/12/15 20:10:56 [clock.wallclock_alsa:3] Raised at file "pervasives.ml", line 20, characters 22-33
2015/12/15 20:10:56 [alsa_in(default):1] Got ill-balanced activations (from alsa_in(default))!
2015/12/15 20:10:56 [clock:2] Error when leaving output alsa_in(default): File "source.ml", line 403, characters 10-16: Assertion failed!
2015/12/15 20:10:56 [clock:3] Raised by primitive operation at file "lib/pcre.ml", line 829, characters 14-76
2015/12/15 20:10:56 [source:4] Source output.alsa_5044 gets up.
2015/12/15 20:10:56 [source:4] Source alsa_in(default) gets up.
2015/12/15 20:10:56 [alsa_in(default):3] Using ALSA 1.0.27.2.
2015/12/15 20:10:56 [clock.wallclock_alsa:2] Error when starting alsa_out(default): Failure("Error while setting open_pcm: Device or resource busy")!
2015/12/15 20:10:56 [clock.wallclock_alsa:3] Raised at file "pervasives.ml", line 20, characters 22-33
2015/12/15 20:10:56 [alsa_out(default):1] Got ill-balanced activations (from alsa_out(default))!
2015/12/15 20:10:56 [clock:2] Error when leaving output alsa_out(default): File "source.ml", line 403, characters 10-16: Assertion failed!
2015/12/15 20:10:56 [clock:3] Raised by primitive operation at file "lib/pcre.ml", line 829, characters 14-76
2015/12/15 20:10:56 [clock:4] Main phase starts.
2015/12/15 20:10:56 [main:3] Shutdown started!
2015/12/15 20:10:56 [main:3] Waiting for threads to terminate...
2015/12/15 20:10:56 [main:3] Cleaning downloaded files...
2015/12/15 20:10:56 [main:3] Freeing memory...
2015/12/15 20:10:56 >>> LOG END
aplay: set_params:1233: Sample format non available
Available formats:
- S32_LE
Is there a way to change liquidsoap's format to S32_LE instead of S16LE?
create another user and then test from that also.
Please ensure that hw.00 is the default
TO BE HONEST THOUGH I HAVE NEVER HAVE A PRODUCTION READY SOLUTION USING THE
OUTPUT SOUNDCARD ON AN AIRTIME MACHINE
It looks like you're new here. If you want to get involved, click one of these buttons!