We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c2735 commit f5ff965Copy full SHA for f5ff965
packages/react-native-audio-api/android/src/main/cpp/audioapi/android/core/AudioPlayer.cpp
@@ -47,8 +47,8 @@ bool AudioPlayer::openAudioStream() {
47
48
bool AudioPlayer::start() {
49
if (mStream_) {
50
- mStream_->requestStart();
51
- return true;
+ auto result = mStream_->requestStart();
+ return result == oboe::Result::OK;
52
}
53
54
return false;
@@ -62,8 +62,8 @@ void AudioPlayer::stop() {
62
63
bool AudioPlayer::resume() {
64
65
66
67
68
69
0 commit comments