Lines Matching refs:OboePlayer
30 ChannelMask OboePlayer::javaChannelMaskToOboeChannelMask(int32_t javaMask) { in javaChannelMaskToOboeChannelMask()
34 int32_t OboePlayer::javaChannelMaskToChannelCount(int32_t javaMask) { in javaChannelMaskToChannelCount()
39 OboePlayer::OboePlayer(JNIEnv *env, AudioSource* source, int subtype) in OboePlayer() function in OboePlayer
50 DataCallbackResult OboePlayer::onAudioReady(AudioStream *oboeStream, void *audioData, in onAudioReady()
68 void OboePlayer::onErrorAfterClose(AudioStream *oboeStream, oboe::Result error) { in onErrorAfterClose()
71 void OboePlayer::onErrorBeforeClose(AudioStream *, oboe::Result error) { in onErrorBeforeClose()
74 StreamBase::Result OboePlayer::setupStream(int32_t channelCount, int32_t channelMask, in setupStream()
142 StreamBase::Result OboePlayer::startStream() { in startStream()
148 bool OboePlayer::getJavaTimestamp(jobject timestampObj) { in getJavaTimestamp()
162 int OboePlayer::getLastErrorCallbackResult() { in getLastErrorCallbackResult()
176 return (jlong)new OboePlayer(env, (AudioSource*)native_audio_source, playerSubtype); in Java_org_hyphonate_megaaudio_player_OboePlayer_allocNativePlayer()
184 OboePlayer* player = (OboePlayer*)native_player; in Java_org_hyphonate_megaaudio_player_OboePlayer_setupStreamN()
192 OboePlayer* player = (OboePlayer*)native_player; in Java_org_hyphonate_megaaudio_player_OboePlayer_teardownStreamN()
199 return ((OboePlayer*)(native_player))->startStream(); in Java_org_hyphonate_megaaudio_player_OboePlayer_startStreamN()
206 return ((OboePlayer*)(native_player))->stopStream(); in Java_org_hyphonate_megaaudio_player_OboePlayer_stopN()
212 return ((OboePlayer*)(native_player))->getNumBufferFrames(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getBufferFrameCountN()
217 return ((OboePlayer*)(native_player))->getRoutedDeviceId(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getRoutedDeviceIdN()
222 return ((OboePlayer*)(native_player))->getSharingMode(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getSharingModeN()
227 return ((OboePlayer*)(native_player))->getChannelCount(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getChannelCountN()
232 return ((OboePlayer*)(native_player))->isMMap(); in Java_org_hyphonate_megaaudio_player_OboePlayer_isMMapN()
237 return ((OboePlayer*)native_player)->getJavaTimestamp(timestamp); in Java_org_hyphonate_megaaudio_player_OboePlayer_getTimestampN()
242 return (int)((OboePlayer*)(native_player))->getState(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getStreamStateN()
247 return (int)((OboePlayer*)(native_player))->getLastErrorCallbackResult(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getLastErrorCallbackResultN()