Pyaudio stream init failed when using pyaudio.paInt24 format

Bug #1652651 reported by Nadav Benedek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pyaudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

Pyaudio stream init failed when using pyaudio.paInt24 format

I doubled check that my Sound Blaster card supports 24 bit, and I alse see it in my devices (pacmd list-sinks), but running this in python failed with:

Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2097
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2731
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843
Traceback (most recent call last):
  File "replay_sound.py", line 145, in <module>
    stream_callback = callbackRead)
  File "/usr/local/lib/python2.7/dist-packages/pyaudio.py", line 750, in open
    stream = Stream(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyaudio.py", line 441, in __init__
    self._stream = pa.open(**arguments)
IOError: [Errno -9999] Unanticipated host error

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.