mozilla / cubeb-pulse-rs

ISC License
15 stars 17 forks source link

Fixed callback buffer size #60

Open Koalab99 opened 4 years ago

Koalab99 commented 4 years ago

It allows to wait for bigger buffer if it is lower than 128 frames, and use the previous multiple of 128 if higher, the rest will be send in the next callback. I set it to 128 frames by default, I didn't know how to get a user defined value.