kira
kira copied to clipboard
Use StreamConfig instead of BufferSize
trafficstars
~~The commit message is misleading as i, uh, tried to rebase it to squash and rename but I failed.~~
I fixed it.
I'm not sure how to test this inside the repo, but I predict it will simply give a BuildStreamError(StreamConfigNotSupported) error if the samplerate is unsupported by the device. Behavior should be unchanged if None is passed to the backend configuration.
@tesselode I've updated the PR per your recommendation. It now takes an optional StreamConfig instead of buffer size + sample rate.
any update on this ? 👀