Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_id_manager.cpp49 for (auto soundParser : soundParsers_) { in ~SoundIDManager()
50 if (soundParser.second != nullptr) { in ~SoundIDManager()
51 soundParser.second->Release(); in ~SoundIDManager()
99 auto soundParser = std::make_shared<SoundParser>(soundID, url); in Load() local
100 CHECK_AND_RETURN_RET_LOG(soundParser != nullptr, -1, "failed to create soundParser"); in Load()
101 soundParsers_.emplace(soundID, soundParser); in Load()
121 auto soundParser = std::make_shared<SoundParser>(soundID, fd, offset, length); in Load() local
122 CHECK_AND_RETURN_RET_LOG(soundParser != nullptr, -1, "failed to create soundParser"); in Load()
169 std::shared_ptr<SoundParser> soundParser = FindSoundParser(soundID); DoParser() local
[all...]
H A Dstream_id_manager.cpp89 int32_t StreamIDManager::Play(std::shared_ptr<SoundParser> soundParser, PlayParams playParameters) in Play() argument
92 CHECK_AND_RETURN_RET_LOG(soundParser != nullptr, -1, "Invalid soundParser."); in Play()
93 int32_t soundID = soundParser->GetSoundID(); in Play()
103 soundParser->GetSoundData(cacheData); in Play()
104 size_t cacheDataTotalSize = soundParser->GetSoundDataTotalSize(); in Play()
108 std::make_shared<CacheBuffer>(soundParser->GetSoundTrackFormat(), cacheData, cacheDataTotalSize, in Play()
H A Dsoundpool.cpp109 std::shared_ptr<SoundParser> soundParser = soundIDManager_->FindSoundParser(soundID); in Play() local
111 CHECK_AND_RETURN_RET_LOG(soundParser != nullptr, -1, "Invalid sound."); in Play()
112 if (!soundParser->IsSoundParserCompleted()) { in Play()
116 const int32_t streamID = streamIdManager_->Play(soundParser, playParameters); in Play()
H A Dsound_parser.h128 explicit SoundParserListener(const std::weak_ptr<SoundParser> soundParser) : soundParserInner_(soundParser) {} in SoundParserListener() argument
H A Dstream_id_manager.h35 int32_t Play(std::shared_ptr<SoundParser> soundParser, PlayParams playParameters);

Completed in 3 milliseconds