Searched refs:nativePlayer (Results 1 – 2 of 2) sorted by relevance
34 static AudioPlayer* nativePlayer; variable43 if (nativePlayer == 0) { in Java_com_android_ndkaudio_AudioPlayer_Create()48 nativePlayer = new AudioPlayer(); in Java_com_android_ndkaudio_AudioPlayer_Create()49 nativePlayer->Open(numChannels, waveTableSource); in Java_com_android_ndkaudio_AudioPlayer_Create()55 nativePlayer->Close(); in Java_com_android_ndkaudio_AudioPlayer_Destroy()60 nativePlayer->RealizePlayer(); in Java_com_android_ndkaudio_AudioPlayer_RealizePlayer()65 nativePlayer->RealizeRoutingProxy(); in Java_com_android_ndkaudio_AudioPlayer_RealizeRoutingProxy()70 nativePlayer->Start(); in Java_com_android_ndkaudio_AudioPlayer_Start()75 nativePlayer->Stop(); in Java_com_android_ndkaudio_AudioPlayer_Stop()81 SLAndroidConfigurationItf configItf = nativePlayer->getConfigItf(); in Java_com_android_ndkaudio_AudioPlayer_GetRoutingInterface()[all …]
103 …private native int setupStreamN(long nativePlayer, int channelCount, int sampleRate, int routeDevi… in setupStreamN() argument104 private native int teardownStreamN(long nativePlayer); in teardownStreamN() argument106 private native int startStreamN(long nativePlayer, int playerSubtype); in startStreamN() argument107 private native int stopN(long nativePlayer); in stopN() argument111 private native int getRoutedDeviceIdN(long nativePlayer); in getRoutedDeviceIdN() argument113 private native boolean getTimestampN(long nativePlayer, AudioTimestamp timestamp); in getTimestampN() argument