mirror of
https://github.com/mozilla/cubeb
synced 2024-11-21 14:29:11 -07:00
Don't print cubeb result codes as if they're from AAudio
Some checks failed
Build / build (macos-13, Debug) (push) Has been cancelled
Build / build (macos-13, Release) (push) Has been cancelled
Build / build (macos-14, Debug) (push) Has been cancelled
Build / build (macos-14, Release) (push) Has been cancelled
Build / build (ubuntu-20.04, Debug) (push) Has been cancelled
Build / build (ubuntu-20.04, Release) (push) Has been cancelled
Build / build (windows-2019, Debug) (push) Has been cancelled
Build / build (windows-2019, Release) (push) Has been cancelled
Build / build-android (arm64-v8a, Debug) (push) Has been cancelled
Build / build-android (arm64-v8a, Release) (push) Has been cancelled
Build / build-android (armeabi-v7a, Debug) (push) Has been cancelled
Build / build-android (armeabi-v7a, Release) (push) Has been cancelled
Build / build-android (x86_64, Debug) (push) Has been cancelled
Build / build-android (x86_64, Release) (push) Has been cancelled
Build / check_format (push) Has been cancelled
Some checks failed
Build / build (macos-13, Debug) (push) Has been cancelled
Build / build (macos-13, Release) (push) Has been cancelled
Build / build (macos-14, Debug) (push) Has been cancelled
Build / build (macos-14, Release) (push) Has been cancelled
Build / build (ubuntu-20.04, Debug) (push) Has been cancelled
Build / build (ubuntu-20.04, Release) (push) Has been cancelled
Build / build (windows-2019, Debug) (push) Has been cancelled
Build / build (windows-2019, Release) (push) Has been cancelled
Build / build-android (arm64-v8a, Debug) (push) Has been cancelled
Build / build-android (arm64-v8a, Release) (push) Has been cancelled
Build / build-android (armeabi-v7a, Debug) (push) Has been cancelled
Build / build-android (armeabi-v7a, Release) (push) Has been cancelled
Build / build-android (x86_64, Debug) (push) Has been cancelled
Build / build-android (x86_64, Release) (push) Has been cancelled
Build / check_format (push) Has been cancelled
This commit is contained in:
parent
d896f3af2a
commit
2566793347
1 changed files with 2 additions and 4 deletions
|
@ -912,8 +912,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard<mutex> & lock)
|
||||||
|
|
||||||
if (err != CUBEB_OK) {
|
if (err != CUBEB_OK) {
|
||||||
aaudio_stream_destroy_locked(stm, lock);
|
aaudio_stream_destroy_locked(stm, lock);
|
||||||
LOG("aaudio_stream_init_impl error while reiniting: %s",
|
LOG("aaudio_stream_init_impl error while reiniting");
|
||||||
WRAP(AAudio_convertResultToText)(err));
|
|
||||||
stm->state.store(stream_state::ERROR);
|
stm->state.store(stream_state::ERROR);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
@ -922,8 +921,7 @@ reinitialize_stream_locked(cubeb_stream * stm, lock_guard<mutex> & lock)
|
||||||
err = aaudio_stream_start_locked(stm, lock);
|
err = aaudio_stream_start_locked(stm, lock);
|
||||||
if (err != CUBEB_OK) {
|
if (err != CUBEB_OK) {
|
||||||
aaudio_stream_destroy_locked(stm, lock);
|
aaudio_stream_destroy_locked(stm, lock);
|
||||||
LOG("aaudio_stream_start error while reiniting: %s",
|
LOG("aaudio_stream_start error while reiniting");
|
||||||
WRAP(AAudio_convertResultToText)(err));
|
|
||||||
stm->state.store(stream_state::ERROR);
|
stm->state.store(stream_state::ERROR);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue