AlsaPcmOutputStream   66 media/audio/alsa/alsa_input.cc   latency_us = std::max(latency_us, AlsaPcmOutputStream::kMinLatencyMicros);
AlsaPcmOutputStream  101 media/audio/alsa/alsa_output.cc                          AlsaPcmOutputStream::InternalState state) {
AlsaPcmOutputStream  103 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kInError:
AlsaPcmOutputStream  106 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kCreated:
AlsaPcmOutputStream  109 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kIsOpened:
AlsaPcmOutputStream  112 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kIsPlaying:
AlsaPcmOutputStream  115 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kIsStopped:
AlsaPcmOutputStream  118 media/audio/alsa/alsa_output.cc     case AlsaPcmOutputStream::kIsClosed:
AlsaPcmOutputStream  125 media/audio/alsa/alsa_output.cc const char AlsaPcmOutputStream::kDefaultDevice[] = "default";
AlsaPcmOutputStream  126 media/audio/alsa/alsa_output.cc const char AlsaPcmOutputStream::kAutoSelectDevice[] = "";
AlsaPcmOutputStream  127 media/audio/alsa/alsa_output.cc const char AlsaPcmOutputStream::kPlugPrefix[] = "plug:";
AlsaPcmOutputStream  131 media/audio/alsa/alsa_output.cc const uint32 AlsaPcmOutputStream::kMinLatencyMicros = 40 * 1000;
AlsaPcmOutputStream  133 media/audio/alsa/alsa_output.cc AlsaPcmOutputStream::AlsaPcmOutputStream(const std::string& device_name,
AlsaPcmOutputStream  176 media/audio/alsa/alsa_output.cc AlsaPcmOutputStream::~AlsaPcmOutputStream() {
AlsaPcmOutputStream  184 media/audio/alsa/alsa_output.cc bool AlsaPcmOutputStream::Open() {
AlsaPcmOutputStream  242 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::Close() {
AlsaPcmOutputStream  270 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::Start(AudioSourceCallback* callback) {
AlsaPcmOutputStream  319 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::Stop() {
AlsaPcmOutputStream  329 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::SetVolume(double volume) {
AlsaPcmOutputStream  335 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::GetVolume(double* volume) {
AlsaPcmOutputStream  341 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::BufferPacket(bool* source_exhausted) {
AlsaPcmOutputStream  394 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::WritePacket() {
AlsaPcmOutputStream  454 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::WriteTask() {
AlsaPcmOutputStream  470 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::ScheduleNextWrite(bool source_exhausted) {
AlsaPcmOutputStream  505 media/audio/alsa/alsa_output.cc       &AlsaPcmOutputStream::WriteTask, weak_factory_.GetWeakPtr()),
AlsaPcmOutputStream  510 media/audio/alsa/alsa_output.cc base::TimeDelta AlsaPcmOutputStream::FramesToTimeDelta(int frames,
AlsaPcmOutputStream  516 media/audio/alsa/alsa_output.cc std::string AlsaPcmOutputStream::FindDeviceForChannels(uint32 channels) {
AlsaPcmOutputStream  563 media/audio/alsa/alsa_output.cc snd_pcm_sframes_t AlsaPcmOutputStream::GetCurrentDelay() {
AlsaPcmOutputStream  602 media/audio/alsa/alsa_output.cc snd_pcm_sframes_t AlsaPcmOutputStream::GetAvailableFrames() {
AlsaPcmOutputStream  630 media/audio/alsa/alsa_output.cc snd_pcm_t* AlsaPcmOutputStream::AutoSelectDevice(unsigned int latency) {
AlsaPcmOutputStream  695 media/audio/alsa/alsa_output.cc bool AlsaPcmOutputStream::CanTransitionTo(InternalState to) {
AlsaPcmOutputStream  721 media/audio/alsa/alsa_output.cc AlsaPcmOutputStream::InternalState
AlsaPcmOutputStream  722 media/audio/alsa/alsa_output.cc AlsaPcmOutputStream::TransitionTo(InternalState to) {
AlsaPcmOutputStream  734 media/audio/alsa/alsa_output.cc AlsaPcmOutputStream::InternalState AlsaPcmOutputStream::state() {
AlsaPcmOutputStream  738 media/audio/alsa/alsa_output.cc bool AlsaPcmOutputStream::IsOnAudioThread() const {
AlsaPcmOutputStream  742 media/audio/alsa/alsa_output.cc int AlsaPcmOutputStream::RunDataCallback(AudioBus* audio_bus,
AlsaPcmOutputStream  752 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::RunErrorCallback(int code) {
AlsaPcmOutputStream  759 media/audio/alsa/alsa_output.cc void AlsaPcmOutputStream::set_source_callback(AudioSourceCallback* callback) {
AlsaPcmOutputStream   47 media/audio/alsa/alsa_output.h class MEDIA_EXPORT AlsaPcmOutputStream : public AudioOutputStream {
AlsaPcmOutputStream   70 media/audio/alsa/alsa_output.h   AlsaPcmOutputStream(const std::string& device_name,
AlsaPcmOutputStream   75 media/audio/alsa/alsa_output.h   virtual ~AlsaPcmOutputStream();
AlsaPcmOutputStream  219 media/audio/alsa/alsa_output.h   base::WeakPtrFactory<AlsaPcmOutputStream> weak_factory_;
AlsaPcmOutputStream  221 media/audio/alsa/alsa_output.h   DISALLOW_COPY_AND_ASSIGN(AlsaPcmOutputStream);
AlsaPcmOutputStream  225 media/audio/alsa/alsa_output.h                                       AlsaPcmOutputStream::InternalState);
AlsaPcmOutputStream  112 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* CreateStream(ChannelLayout layout) {
AlsaPcmOutputStream  116 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* CreateStream(ChannelLayout layout,
AlsaPcmOutputStream  120 media/audio/alsa/alsa_output_unittest.cc     return new AlsaPcmOutputStream(kTestDeviceName,
AlsaPcmOutputStream  138 media/audio/alsa/alsa_output_unittest.cc   void InitBuffer(AlsaPcmOutputStream* test_stream) {
AlsaPcmOutputStream  212 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  213 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state());
AlsaPcmOutputStream  218 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state());
AlsaPcmOutputStream  223 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state());
AlsaPcmOutputStream  230 media/audio/alsa/alsa_output_unittest.cc   test_stream = new AlsaPcmOutputStream(kTestDeviceName,
AlsaPcmOutputStream  234 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
AlsaPcmOutputStream  241 media/audio/alsa/alsa_output_unittest.cc   test_stream = new AlsaPcmOutputStream(kTestDeviceName,
AlsaPcmOutputStream  245 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
AlsaPcmOutputStream  253 media/audio/alsa/alsa_output_unittest.cc       AlsaPcmOutputStream::kMinLatencyMicros / kMicrosPerFrame / 2.0;
AlsaPcmOutputStream  263 media/audio/alsa/alsa_output_unittest.cc                            AlsaPcmOutputStream::kMinLatencyMicros))
AlsaPcmOutputStream  270 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout,
AlsaPcmOutputStream  285 media/audio/alsa/alsa_output_unittest.cc   int64 expected_micros = AlsaPcmOutputStream::FramesToTimeDelta(
AlsaPcmOutputStream  314 media/audio/alsa/alsa_output_unittest.cc   int64 expected_micros = AlsaPcmOutputStream::FramesToTimeDelta(
AlsaPcmOutputStream  340 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  343 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kIsOpened, test_stream->state());
AlsaPcmOutputStream  363 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  365 media/audio/alsa/alsa_output_unittest.cc   ASSERT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
AlsaPcmOutputStream  391 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  393 media/audio/alsa/alsa_output_unittest.cc   EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
AlsaPcmOutputStream  419 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  459 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  461 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsOpened);
AlsaPcmOutputStream  462 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  484 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  487 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  531 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  534 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  571 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  573 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsOpened);
AlsaPcmOutputStream  574 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  584 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  611 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  637 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  664 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  685 media/audio/alsa/alsa_output_unittest.cc                                         AlsaPcmOutputStream::kDefaultDevice,
AlsaPcmOutputStream  686 media/audio/alsa/alsa_output_unittest.cc                                         AlsaPcmOutputStream::kDefaultDevice,
AlsaPcmOutputStream  687 media/audio/alsa/alsa_output_unittest.cc                                         AlsaPcmOutputStream::kDefaultDevice,
AlsaPcmOutputStream  690 media/audio/alsa/alsa_output_unittest.cc                                         AlsaPcmOutputStream::kDefaultDevice };
AlsaPcmOutputStream  711 media/audio/alsa/alsa_output_unittest.cc     if (kExpectedDeviceName[i] != AlsaPcmOutputStream::kDefaultDevice) {
AlsaPcmOutputStream  734 media/audio/alsa/alsa_output_unittest.cc     AlsaPcmOutputStream* test_stream = CreateStream(kExpectedLayouts[i]);
AlsaPcmOutputStream  759 media/audio/alsa/alsa_output_unittest.cc   const string second_try = string(AlsaPcmOutputStream::kPlugPrefix) +
AlsaPcmOutputStream  761 media/audio/alsa/alsa_output_unittest.cc   const string third_try = AlsaPcmOutputStream::kDefaultDevice;
AlsaPcmOutputStream  762 media/audio/alsa/alsa_output_unittest.cc   const string fourth_try = string(AlsaPcmOutputStream::kPlugPrefix) +
AlsaPcmOutputStream  763 media/audio/alsa/alsa_output_unittest.cc                             AlsaPcmOutputStream::kDefaultDevice;
AlsaPcmOutputStream  786 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(CHANNEL_LAYOUT_5_0);
AlsaPcmOutputStream  797 media/audio/alsa/alsa_output_unittest.cc               PcmOpen(_, StrEq(AlsaPcmOutputStream::kDefaultDevice), _, _))
AlsaPcmOutputStream  805 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(CHANNEL_LAYOUT_5_0);
AlsaPcmOutputStream  812 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  823 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  824 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsOpened);
AlsaPcmOutputStream  825 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  841 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed);
AlsaPcmOutputStream  847 media/audio/alsa/alsa_output_unittest.cc   AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout);
AlsaPcmOutputStream  848 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsOpened);
AlsaPcmOutputStream  849 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsPlaying);
AlsaPcmOutputStream  860 media/audio/alsa/alsa_output_unittest.cc   test_stream->TransitionTo(AlsaPcmOutputStream::kIsClosed);
AlsaPcmOutputStream  339 media/audio/alsa/audio_manager_alsa.cc   std::string device_name = AlsaPcmOutputStream::kAutoSelectDevice;
AlsaPcmOutputStream  345 media/audio/alsa/audio_manager_alsa.cc   return new AlsaPcmOutputStream(device_name, params, wrapper_.get(), this);