Skip to content

Conversation

@wrongbad
Copy link

PyAudio is cool but it did not work with my audio device with 6 input channels and 2 output channels.

I added a new parameter to pyaudio.open() input_channels=0 which if left as 0, just uses channels to remain backward compatible. If set to non-zero, overrides the channels argument for input side.

It's not the perfect API, but having channels as positional arg doesn't leave many options without breaking API compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant