Skip to content

support AudioFormat::PCM_I32, impl Send for AudioStream#497

Open
WilledgeR wants to merge 1 commit intorust-mobile:masterfrom
WilledgeR:master
Open

support AudioFormat::PCM_I32, impl Send for AudioStream#497
WilledgeR wants to merge 1 commit intorust-mobile:masterfrom
WilledgeR:master

Conversation

@WilledgeR
Copy link
Copy Markdown

As aaudio document says:

The AAudio API is not completely thread safe. You cannot call some of the AAudio functions concurrently from more than one thread at a time. This is because AAudio avoids using mutexes

ndk::AudioStream could not be Sync, but that doesn't mean its not Send

These changes help up for migrating from Oboe to ndk::audio in cpal crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant