Home
last modified time | relevance | path

Searched refs:nativePlayer (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/libndkaudio/
Dcom_android_ndkaudio_AudioPlayer.cpp34 static AudioPlayer* nativePlayer; variable
43 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 …]
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DOboePlayer.java103 …private native int setupStreamN(long nativePlayer, int channelCount, int sampleRate, int routeDevi… in setupStreamN() argument
104 private native int teardownStreamN(long nativePlayer); in teardownStreamN() argument
106 private native int startStreamN(long nativePlayer, int playerSubtype); in startStreamN() argument
107 private native int stopN(long nativePlayer); in stopN() argument
111 private native int getRoutedDeviceIdN(long nativePlayer); in getRoutedDeviceIdN() argument
113 private native boolean getTimestampN(long nativePlayer, AudioTimestamp timestamp); in getTimestampN() argument