Home
last modified time | relevance | path

Searched refs:streamID (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/jni/soundpool/
DSoundPool.cpp138 const int32_t streamID = mStreamManager.queueForPlay( in play() local
140 ALOGV("%s returned %d", __func__, streamID); in play()
142 return streamID; in play()
166 void SoundPool::pause(int32_t streamID) in pause() argument
168 ALOGV("%s(%d)", __func__, streamID); in pause()
170 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in pause()
171 stream->pause(streamID); in pause()
175 void SoundPool::resume(int32_t streamID) in resume() argument
177 ALOGV("%s(%d)", __func__, streamID); in resume()
179 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in resume()
[all …]
DSoundPool.h43 void pause(int32_t streamID);
45 void resume(int32_t streamID);
47 void stop(int32_t streamID);
48 void setVolume(int32_t streamID, float leftVolume, float rightVolume);
49 void setPriority(int32_t streamID, int32_t priority);
50 void setLoop(int32_t streamID, int32_t loop);
51 void setRate(int32_t streamID, float rate);
DStream.cpp75 void Stream::pause(int32_t streamID) in pause() argument
78 if (streamID == mStreamID) { in pause()
80 ALOGV("%s: track streamID: %d", __func__, streamID); in pause()
89 void Stream::resume(int32_t streamID) in resume() argument
92 if (streamID == mStreamID) { in resume()
94 ALOGV("%s: track streamID: %d", __func__, streamID); in resume()
104 void Stream::setRate(int32_t streamID, float rate) in setRate() argument
107 if (streamID == mStreamID) { in setRate()
125 void Stream::setVolume(int32_t streamID, float leftVolume, float rightVolume) in setVolume() argument
128 if (streamID == mStreamID) { in setVolume()
[all …]
DStream.h84 bool requestStop(int32_t streamID);
87 void pause(int32_t streamID);
89 void resume(int32_t streamID);
101 void setVolume(int32_t streamID, float leftVolume, float rightVolume);
102 void setRate(int32_t streamID, float rate);
103 void setPriority(int32_t streamID, int priority);
104 void setLoop(int32_t streamID, int loop);
105 void setPlay(int32_t streamID, const std::shared_ptr<Sound> &sound, int32_t soundID,
159 void play_l(const std::shared_ptr<Sound>& sound, int streamID,
DStreamManager.cpp70 Stream* StreamMap::findStream(int32_t streamID) const in findStream()
72 Stream *stream = lookupStreamFromId(streamID); in findStream()
73 return stream != nullptr && stream->getStreamID() == streamID ? stream : nullptr; in findStream()
84 Stream* StreamMap::lookupStreamFromId(int32_t streamID) const in lookupStreamFromId()
86 return streamID > 0 ? mPerfectHash->getValue(streamID).load() : nullptr; in lookupStreamFromId()
165 int32_t streamID = 0; in queueForPlay() local
244 streamID = getNextIdForStream(pairStream); in queueForPlay()
246 __func__, newStream, pairStream, streamID); in queueForPlay()
248 streamID, sound, soundID, leftVolume, rightVolume, priority, loop, rate); in queueForPlay()
260 streamID = 0; in queueForPlay()
[all …]
DStreamManager.h303 Stream* findStream(int32_t streamID) const;
342 Stream* lookupStreamFromId(int32_t streamID) const;
/frameworks/base/media/jni/soundpool/tests/
Dsoundpool_stress.cpp159 const int32_t streamID = in testStreams() local
161 if (streamID != 0) { in testStreams()
165 " but callback events(%d) != 1\n", streamID, soundID, events); in testStreams()
168 soundPool->stop(streamID); in testStreams()
186 const int32_t streamID = in testStreams() local
188 if (streamID == 0) { in testStreams()
192 printf(" streamID=%d", streamID); in testStreams()
193 streamIDs.emplace_back(streamID); in testStreams()
206 for (int32_t streamID : streamIDs) { in testStreams() local
207 soundPool->stop(streamID); in testStreams()
/frameworks/base/media/java/android/media/
DSoundPool.java332 public native final void pause(int streamID); in pause() argument
344 public native final void resume(int streamID); in resume() argument
375 public native final void stop(int streamID); in stop() argument
389 public final void setVolume(int streamID, float leftVolume, float rightVolume) { in setVolume() argument
394 _setVolume(streamID, leftVolume, rightVolume); in setVolume()
440 public void setVolume(int streamID, float volume) { in setVolume() argument
441 setVolume(streamID, volume, volume); in setVolume()
454 public native final void setPriority(int streamID, int priority); in setPriority() argument
467 public native final void setLoop(int streamID, int loop); in setLoop() argument
481 public native final void setRate(int streamID, float rate); in setRate() argument
[all …]
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal148 * @return streamID new stream ID generated.
151 generates (Status status, int32_t streamID);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...