Searched refs:idle_streams_ (Results 1 – 4 of 4) sorted by relevance
51 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 …]
76 std::vector<AudioOutputStream*> idle_streams_; variable
54 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 …]
82 std::vector<AudioOutputStream*> idle_streams_; variable