Skip to content

Instantly share code, notes, and snippets.

@niclashoyer
Created April 22, 2015 06:52
Show Gist options
  • Save niclashoyer/a3a8e572c402e0f3257d to your computer and use it in GitHub Desktop.
Save niclashoyer/a3a8e572c402e0f3257d to your computer and use it in GitHub Desktop.
Rust Portaudio blocking errors on ALSA
PortAudio version : 1899
PortAudio version text : PortAudio V19-devel (built Aug 18 2014 05:50:44)
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Successfully initialized PortAudio
PortAudio host count : 2
PortAudio default host : 0
PortAudio host name : ALSA
PortAudio type id : -9979
Default input device info :
version : 2
name : default
max input channels : 32
max output channels : 32
default sample rate : 44100
Default output device name : default
Successfully opened the stream.
Successfully started the stream.
Read stream available with 96 frames.
Write stream available with 768 frames.
Read stream available with 128 frames.
Write stream available with 767 frames.
Read stream available with 104 frames.
Write stream available with 184 frames.
Read stream available with 520 frames.
Process didn't exit successfully: `target/debug/examples/blocking` (signal: 11)
PortAudio version : 1899
PortAudio version text : PortAudio V19-devel (built Aug 18 2014 05:50:44)
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Successfully initialized PortAudio
PortAudio host count : 2
PortAudio default host : 0
PortAudio host name : ALSA
PortAudio type id : -9979
Default input device info :
version : 2
name : default
max input channels : 32
max output channels : 32
default sample rate : 44100
Default output device name : default
Successfully opened the stream.
Successfully started the stream.
Read stream available with 64 frames.
Write stream available with 768 frames.
Read stream available with 144 frames.
Write stream available with 1030 frames.
Read stream available with 120 frames.
Write stream available with 137 frames.
Read stream available with 720 frames.
Assertion 'pa_atomic_load(&(c)->_ref) >= 1' failed at pulse/context.c:389, function pstream_memblock_callback(). Aborting.
Process didn't exit successfully: `target/debug/examples/blocking` (signal: 6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment