Home
last modified time | relevance | path

Searched refs:AlsaPcmOutputStream (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/media/audio/alsa/
Dalsa_output.cc101 AlsaPcmOutputStream::InternalState state) { in operator <<()
103 case AlsaPcmOutputStream::kInError: in operator <<()
106 case AlsaPcmOutputStream::kCreated: in operator <<()
109 case AlsaPcmOutputStream::kIsOpened: in operator <<()
112 case AlsaPcmOutputStream::kIsPlaying: in operator <<()
115 case AlsaPcmOutputStream::kIsStopped: in operator <<()
118 case AlsaPcmOutputStream::kIsClosed: in operator <<()
125 const char AlsaPcmOutputStream::kDefaultDevice[] = "default";
126 const char AlsaPcmOutputStream::kAutoSelectDevice[] = "";
127 const char AlsaPcmOutputStream::kPlugPrefix[] = "plug:";
[all …]
Dalsa_output_unittest.cc112 AlsaPcmOutputStream* CreateStream(ChannelLayout layout) { in CreateStream()
116 AlsaPcmOutputStream* CreateStream(ChannelLayout layout, in CreateStream()
120 return new AlsaPcmOutputStream(kTestDeviceName, in CreateStream()
138 void InitBuffer(AlsaPcmOutputStream* test_stream) { in InitBuffer()
212 AlsaPcmOutputStream* test_stream = CreateStream(kTestChannelLayout); in TEST_F()
213 EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state()); in TEST_F()
218 EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state()); in TEST_F()
223 EXPECT_EQ(AlsaPcmOutputStream::kCreated, test_stream->state()); in TEST_F()
230 test_stream = new AlsaPcmOutputStream(kTestDeviceName, in TEST_F()
234 EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state()); in TEST_F()
[all …]
Dalsa_output.h47 class MEDIA_EXPORT AlsaPcmOutputStream : public AudioOutputStream {
70 AlsaPcmOutputStream(const std::string& device_name,
75 virtual ~AlsaPcmOutputStream();
219 base::WeakPtrFactory<AlsaPcmOutputStream> weak_factory_;
221 DISALLOW_COPY_AND_ASSIGN(AlsaPcmOutputStream);
225 AlsaPcmOutputStream::InternalState);
Daudio_manager_alsa.cc337 std::string device_name = AlsaPcmOutputStream::kAutoSelectDevice; in MakeOutputStream()
343 return new AlsaPcmOutputStream(device_name, params, wrapper_.get(), this); in MakeOutputStream()
Dalsa_input.cc68 latency_us = std::max(latency_us, AlsaPcmOutputStream::kMinLatencyMicros); in Open()