Ich habe in mein LCARS Projekt Sounds eingebaut. Datei
Die Sound-Demo funktioniert soweit ganz gut, nach einiger Zeit bekomme ich jedoch folgende Fehlermeldung:
Code
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Verbindung beendet
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904
Expression 'PaAlsaStreamComponent_Initialize( &self->playback, alsaApi, outParams, StreamDirection_Out, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2175
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840
Traceback (most recent call last):
File "/home/stowasserh/Dropbox/work/kueche/pylcars/pylcars/demos/sounds.py", line 28, in button_callback
self.sound('../Sounds/'+button_name+'.wav')
File "/home/stowasserh/Dropbox/work/kueche/pylcars/pylcars/sound.py", line 37, in sound
stream_callback=callback)
File "/home/stowasserh/.local/lib/python2.7/site-packages/pyaudio.py", line 750, in open
stream = Stream(self, *args, **kwargs)
File "/home/stowasserh/.local/lib/python2.7/site-packages/pyaudio.py", line 441, in __init__
self._stream = pa.open(**arguments)
IOError: [Errno -9993] Illegal combination of I/O devices
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Verbindung beendet
Display More
Was mache ich falsch?