File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-native-audio-api/common/cpp/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#ifdef ANDROID
2
- #include " AudioPlayer.h"
3
2
#include " AudioDecoder.h"
3
+ #include " AudioPlayer.h"
4
4
#else
5
5
#include " IOSAudioDecoder.h"
6
6
#include " IOSAudioPlayer.h"
@@ -110,8 +110,8 @@ std::shared_ptr<PeriodicWave> BaseAudioContext::createPeriodicWave(
110
110
#ifdef ANDROID
111
111
std::shared_ptr<AudioBuffer> BaseAudioContext::decodeAudioDataSource (
112
112
const std::string &source) {
113
- auto audioBus = audioDecoder_->decode (source);
114
- return std::make_shared<AudioBuffer>(audioBus);
113
+ auto audioBus = audioDecoder_->decode (source);
114
+ return std::make_shared<AudioBuffer>(audioBus);
115
115
}
116
116
#else
117
117
std::shared_ptr<AudioBuffer> BaseAudioContext::decodeAudioDataSource (
You can’t perform that action at this time.
0 commit comments