Home
last modified time | relevance | path

Searched refs:SoundParser (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_parser.cpp31 SoundParser::SoundParser(int32_t soundID, std::string url) in SoundParser() function in OHOS::Media::SoundParser
42 SoundParser::SoundParser(int32_t soundID, int32_t fd, int64_t offset, int64_t length) in SoundParser() function in OHOS::Media::SoundParser
59 SoundParser::~SoundParser() in ~SoundParser()
65 int32_t SoundParser::DoParser() in DoParser()
95 int32_t SoundParser::DoDemuxer(MediaAVCodec::Format *trackFormat) in DoDemuxer()
141 int32_t SoundParser::DoDecode(MediaAVCodec::Format trackFormat) in DoDecode()
176 size_t SoundParser::GetSoundDataTotalSize() const in GetSoundDataTotalSize()
182 bool SoundParser::IsSoundParserCompleted() const in IsSoundParserCompleted()
194 int32_t SoundParser::Release() in Release()
402 void SoundParser::SoundParserListener::OnSoundDecodeCompleted( in OnSoundDecodeCompleted()
[all …]
H A Dsound_parser.h104 class SoundParser : public std::enable_shared_from_this<SoundParser> {
106 SoundParser(int32_t soundID, std::string url);
107 SoundParser(int32_t soundID, int32_t fd, int64_t offset, int64_t length);
108 ~SoundParser();
128 …explicit SoundParserListener(const std::weak_ptr<SoundParser> soundParser) : soundParserInner_(sou… in SoundParserListener()
137 std::weak_ptr<SoundParser> soundParserInner_;
H A Dsound_id_manager.cpp102 auto soundParser = std::make_shared<SoundParser>(soundID, url); in Load()
124 auto soundParser = std::make_shared<SoundParser>(soundID, fd, offset, length); in Load()
171 std::shared_ptr<SoundParser> soundParser = FindSoundParser(soundID); in DoParser()
183 std::shared_ptr<SoundParser> SoundIDManager::FindSoundParser(int32_t soundID) const in FindSoundParser()
H A Dsound_id_manager.h43 std::shared_ptr<SoundParser> FindSoundParser(int32_t soundID) const;
51 std::map<int32_t, std::shared_ptr<SoundParser>> soundParsers_;
H A Dstream_id_manager.h35 int32_t Play(std::shared_ptr<SoundParser> soundParser, PlayParams playParameters);
H A Dsoundpool.cpp109 std::shared_ptr<SoundParser> soundParser = soundIDManager_->FindSoundParser(soundID); in Play()
H A Dstream_id_manager.cpp101 int32_t StreamIDManager::Play(std::shared_ptr<SoundParser> soundParser, PlayParams playParameters) in Play()