Home
last modified time | relevance | path

Searched refs:idle_streams_ (Results 1 – 4 of 4) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/audio/
H A Daudio_output_dispatcher_impl.cc51 CHECK(idle_streams_.empty()); in ~AudioOutputDispatcherImpl()
63 if (idle_streams_.empty() && !CreateAndOpenStream()) in OpenStream()
78 if (idle_streams_.empty() && !CreateAndOpenStream()) in StartStream()
81 AudioOutputStream* physical_stream = idle_streams_.back(); in StartStream()
82 idle_streams_.pop_back(); in StartStream()
162 idle_streams_.push_back(stream); in CreateAndOpenStream()
173 if (idle_streams_.size() <= keep_alive) in CloseIdleStreams()
175 for (size_t i = keep_alive; i < idle_streams_.size(); ++i) { in CloseIdleStreams()
176 AudioOutputStream* stream = idle_streams_[i]; in CloseIdleStreams()
184 idle_streams_.erase(idle_streams_.begin() + keep_alive, idle_streams_.end()); in CloseIdleStreams()
[all …]
H A Daudio_output_dispatcher_impl.h76 std::vector<AudioOutputStream*> idle_streams_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/audio/
H A Daudio_output_dispatcher_impl.cc54 CHECK(idle_streams_.empty()); in ~AudioOutputDispatcherImpl()
66 if (idle_streams_.empty() && !CreateAndOpenStream()) in OpenStream()
81 if (idle_streams_.empty() && !CreateAndOpenStream()) in StartStream()
84 AudioOutputStream* physical_stream = idle_streams_.back(); in StartStream()
85 idle_streams_.pop_back(); in StartStream()
176 idle_streams_.push_back(stream); in CreateAndOpenStream()
187 if (idle_streams_.size() <= keep_alive) in CloseIdleStreams()
189 for (size_t i = keep_alive; i < idle_streams_.size(); ++i) { in CloseIdleStreams()
190 AudioOutputStream* stream = idle_streams_[i]; in CloseIdleStreams()
198 idle_streams_.erase(idle_streams_.begin() + keep_alive, idle_streams_.end()); in CloseIdleStreams()
[all …]
H A Daudio_output_dispatcher_impl.h82 std::vector<AudioOutputStream*> idle_streams_; variable