diff options
author | Andreas Pehrson <[email protected]> | 2024-06-24 09:36:37 +0200 |
---|---|---|
committer | Andreas Pehrson <[email protected]> | 2024-07-04 22:41:26 +0200 |
commit | 4f72bb725ed244baa9cdf540fb3339de576069c4 (patch) | |
tree | 3dfafe9788d8f4dbda32b6319d63a631d34bbe05 /src/cubeb_winmm.c | |
parent | 5b1ec90ed4b1df70a82df50477667e7ff623cba0 (diff) | |
download | cubeb-4f72bb725ed244baa9cdf540fb3339de576069c4.tar.gz cubeb-4f72bb725ed244baa9cdf540fb3339de576069c4.zip |
Allocate and share session ID for input streams
A session ID is required for audiofx, even through presets.
The latter is not clear in the documentation, but see
https://android.googlesource.com/platform/frameworks/av/+/master/services/audioflinger/AudioFlinger.cpp#1035
There's a single system-wide audio route for input. Only a single input
preset at a time seems to be usable. This commit makes us reject the
init of a stream that doesn't match a preset that has already been
acquired in the context.
Diffstat (limited to 'src/cubeb_winmm.c')
0 files changed, 0 insertions, 0 deletions