Commit graph

4 commits

Author SHA1 Message Date
general electrix
baa697c7fc Implement disconnection detection for CoreAudio on MacOS.
* Create AudioObjectPropertyListener type, providing an easy way to attach a Rust callback.
* Refactor the existing sample rate update mechanism to use AudioObjectPropertyListener.
* Add an optional property listener that registers a callback that is triggered on device disconnection.
* Create a set_on_disconnect method to register the disconnection callback.
2022-10-09 13:29:04 -07:00
Kai Hagseth
d50e0ecbac fix: follow default output source on mac osx
When playing out on default output source, follow the default output
source chosen in sound preferences in osx.
2022-02-28 09:37:17 +01:00
Rémi Lauzier
ba462dad18
Fix some typo and warnings 2021-06-29 11:30:26 -04:00
Michael Hills
2cccf99d50 Refactor coreaudio host and add iOS support + ios-feedback example 2021-01-02 02:04:13 +11:00