How to read data from int16_t queue #1235
-
Problem :: Music not audible I am reading a wav file using fread in c++ as int16_t buffer array. void Player::init_builder(uint16_t size_channel_t, uint32_t sample_rate) { int32_t Player::init_stream() { oboe::DataCallbackResult Player::onAudioReady(oboe::AudioStream *oboeStream, void *audioData, int32_t numFrames) { if (r < 512) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Code looks like it should work. Are you calling |
Beta Was this translation helpful? Give feedback.
Code looks like it should work. Are you calling
AudioStream::requestStart()
anywhere to start the callbacks?