Searched refs:player (Results 26 - 50 of 111) sorted by relevance

12345

/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayStreamType.cpp53 /* Objects this application uses: one player and an ouput mix */
54 SLObjectItf player, outputMix; local
61 /* Data sinks for the audio player */
65 /* Play, Volume and AndroidStreamType interfaces for the audio player */
88 /* Create Output Mix object to be used by the player */
103 /* Configuration of the player */
127 /* Create the audio player */
128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
132 /* Retrieve the configuration interface before the player is realized so its resources
136 result = (*player)
[all...]
H A DslesTestPlayUri.cpp71 /* PrefetchStatusItf callback for an audio player */
138 SLObjectItf player; local
163 // Create Output Mix object to be used by player
187 /* Create the audio player */
188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
191 /* Realizing the player in synchronous mode. */
192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
196 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
H A DslesTest_playStates.cpp52 /* Objects this application uses: one player and an ouput mix */
53 SLObjectItf player, outputMix; local
60 /* Data sinks for the audio player */
64 /* Play, Volume and PrefetchStatus interfaces for the audio player */
85 /* Create Output Mix object to be used by the player */
100 /* Configuration of the player */
121 /* Create the audio player */
122 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
126 /* Realize the player in synchronous mode. */
127 result = (*player)
[all...]
H A DslesTestGetPositionUri.cpp65 /* PrefetchStatusItf callback for an audio player */
140 SLObjectItf player; local
170 // Create Output Mix object to be used by player
194 /* Create the audio player */
195 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
198 /* Realizing the player in synchronous mode. */
199 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
203 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
H A DslesTestSlowDownUri.cpp64 /* PlayItf callback for an audio player */
107 /* PrefetchStatusItf callback for an audio player */
191 SLObjectItf player; local
213 // Create Output Mix object to be used by player
237 /* Create the audio player */
244 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
247 /* Realizing the player in synchronous mode. */
248 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
252 res = (*player)
[all...]
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp73 /* PrefetchStatusItf callback for an audio player */
112 SLObjectItf player; local
137 // Create Output Mix object to be used by player
161 /* Create the audio player */
162 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player,
165 /* Realizing the player in synchronous mode. */
166 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
169 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java60 MediaPlayer player = new MediaPlayer();
61 player.setAudioAttributes(cmd.attributes);
62 player.setDataSource(cmd.context, cmd.uri);
63 player.setLooping(cmd.looping);
64 player.prepare();
65 player.start();
69 mPlayer = player;
110 Log.w(mTag, "STOP command without a player");
/frameworks/wilhelm/tests/examples/
H A DslesTestSendToPresetReverb.cpp78 /* Objects this application uses: one player and an ouput mix */
79 SLObjectItf player, outputMix; local
89 /* Data sinks for the audio player */
93 /* Interfaces for the audio player */
122 /* Create Output Mix object to be used by the player */
159 /* Configuration of the player */
199 /* Create the audio player */
200 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 3,
204 /* Realize the player in synchronous mode. */
205 result = (*player)
[all...]
H A DslesTestPlayFdPath.cpp76 /* Objects this application uses: one player and an ouput mix */
77 SLObjectItf player, outputMix; local
84 /* Data sinks for the audio player */
88 /* Play and PrefetchStatus interfaces for the audio player */
108 /* Create Output Mix object to be used by the player */
123 /* Configuration of the player */
150 /* Create the audio player */
151 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1,
155 /* Realize the player in synchronous mode. */
156 result = (*player)
[all...]
H A DslesTestSawtoothBufferQueue.cpp118 SLObjectItf player; local
148 // Create Output Mix object to be used by player
199 /* Create the music player */
200 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player,
204 /* Realizing the player in synchronous mode. */
205 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
209 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
213 res = (*player)
[all...]
H A DslesTestEqFdPath.cpp60 /* Objects this application uses: one player and an ouput mix */
61 SLObjectItf player, outputMix; local
72 /* Data sinks for the audio player */
76 /* Play and PrefetchStatus interfaces for the audio player */
97 /* Create Output Mix object to be used by the player */
112 /* Configuration of the player */
149 /* Create the audio player */
150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
154 /* Realize the player in synchronous mode. */
155 result = (*player)
[all...]
H A DslesTestDecodeToBuffQueue.cpp279 /* Objects this application uses: one audio player */
280 SLObjectItf player; local
282 /* Interfaces for the audio player */
319 /* Configuration of the player */
358 /* Create the audio player */
359 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest,
364 /* Realize the player in synchronous mode. */
365 result = (*player)->Realize(player, SL_BOOLEAN_FALSE);
370 result = (*player)
[all...]
H A DslesTestEqOutputPath.cpp60 /* Objects this application uses: one player and an ouput mix */
61 SLObjectItf player, outputMix; local
72 /* Data sinks for the audio player */
76 /* Play and PrefetchStatus interfaces for the audio player */
103 /* Create Output Mix object to be used by the player */
121 /* Configuration of the player */
156 /* Create the audio player */
157 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 1,
161 /* Realize the player in synchronous mode. */
162 result = (*player)
[all...]
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine.cpp36 AAudioSimplePlayer player; local
66 result = player.open(argParser);
68 fprintf(stderr, "ERROR - player.open() returned %d\n", result);
72 aaudioStream = player.getStream();
107 printf("call player.start()\n");
108 result = player.start();
180 result = player.stop();
188 player.close();
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */
168 /* Objects this application uses: one player and an output mix */
169 SLObjectItf player, outputMix; local
176 /* Data sinks for the audio player */
180 /* Play, Volume and PrefetchStatus interfaces for the audio player */
201 /* Create Output Mix object to be used by the player */
216 /* Configuration of the player */
237 /* Create the audio player */
238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2,
242 /* Realize the player i
[all...]
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp72 /* AndroidBufferQueueItf callback for an audio player */
193 SLObjectItf player; local
222 // Create Output Mix object to be used by player
246 /* Create the audio player */
247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
250 /* Realizing the player in synchronous mode. */
251 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res);
255 res = (*player)->GetInterface(player, SL_IID_PLA
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java93 MediaPlayer player = new MediaPlayer();
100 player.setAudioAttributes(mCmd.attributes);
101 player.setDataSource(mCmd.context, mCmd.uri);
102 player.setLooping(mCmd.looping);
103 player.setOnCompletionListener(NotificationPlayer.this);
104 player.setOnErrorListener(NotificationPlayer.this);
105 player.prepare();
141 player.start();
142 if (DEBUG) { Log.d(mTag, "player.start"); }
144 player
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaSession2Impl.java98 // executor that may want to access the player. Here's the sample code snippet for that.
127 * @param player
135 public MediaSession2Impl(Context context, MediaPlayerBase player, String id, argument
171 updatePlayer(player, playlistAgent, volumeProvider);
216 public void updatePlayer_impl(@NonNull MediaPlayerBase player, MediaPlaylistAgent playlistAgent, argument
219 if (player == null) {
220 throw new IllegalArgumentException("player shouldn't be null");
222 updatePlayer(player, playlistAgent, volumeProvider);
225 private void updatePlayer(MediaPlayerBase player, MediaPlaylistAgent agent, argument
229 final PlaybackInfo info = createPlaybackInfo(volumeProvider, player
1489 setPlayer_impl(@onNull MediaPlayerBase player) argument
[all...]
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaLibrarySessionImplBase.java34 MediaPlayerInterface player, MediaPlaylistAgent playlistAgent,
38 super(context, sessionCompat, id, player, playlistAgent, volumeProvider, sessionActivity,
32 MediaLibrarySessionImplBase(Context context, MediaSessionCompat sessionCompat, String id, MediaPlayerInterface player, MediaPlaylistAgent playlistAgent, VolumeProviderCompat volumeProvider, PendingIntent sessionActivity, Executor callbackExecutor, MediaSession2.SessionCallback callback) argument
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp28 // default delay in Us used when reposting an event when the player is not ready to accept
141 // only send video size updates if the player was flagged as having video, to avoid
263 sp<IMediaPlayer> player; local
264 getPreparedPlayer(player);
265 if (player != NULL) {
266 player->stop();
269 //player->setDataSource(NULL);
270 player->setVideoSurfaceTexture(NULL);
271 player->disconnect();
293 sp<IMediaPlayer> player; local
318 sp<IMediaPlayer> player; local
[all...]
H A Dandroid_StreamPlayer.cpp40 StreamPlayer * /* const sp<StreamPlayer> & */ player) :
44 mPlayer(player)
187 const sp<StreamPlayer> player(mPlayer.promote());
188 if (player != NULL) {
190 player->seek(ANDROID_UNKNOWN_TIME);
266 const sp<StreamPlayer> player(mPlayer.promote());
267 if (player != NULL) {
268 player->queueRefilled();
368 * Asynchronously notify the player that the queue is ready to be pulled from.
371 // async notification that the ABQ was refilled: the player shoul
33 StreamSourceAppProxy( IAndroidBufferQueue *androidBufferQueue, const sp<CallbackProtector> &callbackProtector, StreamPlayer * player) argument
[all...]
/frameworks/native/include/audiomanager/
H A DIAudioManager.h46 audio_content_type_t content, const sp<IBinder>& player) = 0;
/frameworks/av/include/media/
H A DJetPlayer.h99 JetPlayerThread(JetPlayer *player) : mPlayer(player) { argument
/frameworks/av/media/libmedia/include/media/
H A DJetPlayer.h99 JetPlayerThread(JetPlayer *player) : mPlayer(player) { argument
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMockMediaSessionService2.java52 final MockPlayer player = new MockPlayer(1);
66 .setPlayer(player)

Completed in 780 milliseconds

12345