mozilla / cubeb

Cross platform audio library
ISC License
434 stars 123 forks source link

Add boilerplate for platform input processing and muting #776

Closed Pehrsons closed 6 months ago

Pehrsons commented 6 months ago

This PR adds an enum for input processing parameters, an API for querying which of those parameters are supported in the backend, and an API for setting those parameters on a stream. It also adds an API for setting mute state of the input side on a stream, so the platform can signal to the user that the application has no access to microphone data.

On top of this is all the boilerplate code brought along by the ABI changes from the new APIs.