Public bug reported: 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 ** Affects: python-pyaudio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652651 Title: Pyaudio stream init failed when using pyaudio.paInt24 format To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pyaudio/+bug/1652651/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs