Home
last modified time | relevance | path

Searched refs:AudioBufferEntry (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dcache_buffer.h33 struct AudioBufferEntry { struct
34 AudioBufferEntry(uint8_t *buf, int32_t length) : buffer(std::move(buf)), size(length) {} in AudioBufferEntry() function
35 ~AudioBufferEntry() in ~AudioBufferEntry()
52 const std::deque<std::shared_ptr<AudioBufferEntry>> &cacheData,
102 std::deque<std::shared_ptr<AudioBufferEntry>> cacheData_;
103 std::shared_ptr<AudioBufferEntry> fullCacheData_;
H A Dsound_parser.h57 virtual void OnSoundDecodeCompleted(const std::deque<std::shared_ptr<AudioBufferEntry>>
96 std::deque<std::shared_ptr<AudioBufferEntry>> availableAudioBuffers_;
114 int32_t GetSoundData(std::deque<std::shared_ptr<AudioBufferEntry>> &soundData) const;
130 void OnSoundDecodeCompleted(const std::deque<std::shared_ptr<AudioBufferEntry>> &availableAudioBuffers) override
155 int32_t GetSoundData(std::deque<std::shared_ptr<AudioBufferEntry>> &soundData) const in GetSoundData()
175 std::deque<std::shared_ptr<AudioBufferEntry>> soundData_;
H A Dcache_buffer.cpp29 const std::deque<std::shared_ptr<AudioBufferEntry>> &cacheData, in CacheBuffer()
181 for (std::shared_ptr<AudioBufferEntry> bufferEntry : cacheData_) { in ReCombineCacheData()
205 fullCacheData_ = std::make_shared<AudioBufferEntry>(fullBuffer, cacheDataTotalSize_); in ReCombineCacheData()
H A Dsound_parser.cpp163 int32_t SoundParser::GetSoundData(std::deque<std::shared_ptr<AudioBufferEntry>> &soundData) const in GetSoundData()
298 availableAudioBuffers_.push_back(std::make_shared<AudioBufferEntry>(buf, size)); in DealBufferRawFile()
342 availableAudioBuffers_.push_back(std::make_shared<AudioBufferEntry>(buf, size)); in OnOutputBufferAvailable()
H A Dstream_id_manager.cpp102 std::deque<std::shared_ptr<AudioBufferEntry>> cacheData; in Play()

Completed in 4 milliseconds