Home
last modified time | relevance | path

Searched refs:currentSoundBufferSize_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_parser.cpp238 decodeShouldCompleted_(false), currentSoundBufferSize_(0) in SoundDecoderCallback()
299 if (!decodeShouldCompleted_ && (currentSoundBufferSize_ > MAX_SOUND_BUFFER_SIZE || in DealBufferRawFile()
304 listener_->SetSoundBufferTotalSize(static_cast<size_t>(currentSoundBufferSize_)); in DealBufferRawFile()
320 currentSoundBufferSize_ += size; in DealBufferRawFile()
341 if (currentSoundBufferSize_ > MAX_SOUND_BUFFER_SIZE || flag == AVCODEC_BUFFER_FLAG_EOS) { in OnOutputBufferAvailable()
345 listener_->SetSoundBufferTotalSize(static_cast<size_t>(currentSoundBufferSize_)); in OnOutputBufferAvailable()
364 currentSoundBufferSize_ += size; in OnOutputBufferAvailable()
H A Dsound_parser.h98 int32_t currentSoundBufferSize_; variable