kira icon indicating copy to clipboard operation
kira copied to clipboard

Use StreamConfig instead of BufferSize

Open DaforLynx opened this issue 7 months ago • 2 comments
trafficstars

~~The commit message is misleading as i, uh, tried to rebase it to squash and rename but I failed.~~

I fixed it.

DaforLynx avatar Apr 14 '25 22:04 DaforLynx

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.

DaforLynx avatar Apr 14 '25 22:04 DaforLynx

@tesselode I've updated the PR per your recommendation. It now takes an optional StreamConfig instead of buffer size + sample rate.

DaforLynx avatar Apr 23 '25 22:04 DaforLynx

any update on this ? 👀

xMAC94x avatar Jun 10 '25 19:06 xMAC94x