Searched refs:CrasUnifiedStream (Results 1 – 4 of 4) sorted by relevance
75 CrasUnifiedStream::CrasUnifiedStream(const AudioParameters& params, in CrasUnifiedStream() function in media::CrasUnifiedStream104 CrasUnifiedStream::~CrasUnifiedStream() { in ~CrasUnifiedStream()108 bool CrasUnifiedStream::Open() { in Open()146 void CrasUnifiedStream::Close() { in Close()158 void CrasUnifiedStream::Start(AudioSourceCallback* callback) { in Start()217 CrasUnifiedStream::UnifiedCallback, in Start()218 CrasUnifiedStream::StreamError, in Start()250 void CrasUnifiedStream::Stop() { in Stop()260 void CrasUnifiedStream::SetVolume(double volume) { in SetVolume()267 void CrasUnifiedStream::GetVolume(double* volume) { in GetVolume()[all …]
70 CrasUnifiedStream* CreateStream(ChannelLayout layout) { in CreateStream()74 CrasUnifiedStream* CreateStream(ChannelLayout layout, in CreateStream()78 return new CrasUnifiedStream(params, mock_manager_.get()); in CreateStream()108 CrasUnifiedStream* test_stream = CreateStream(CHANNEL_LAYOUT_MONO); in TEST_F()120 test_stream = new CrasUnifiedStream(bad_bps_params, mock_manager_.get()); in TEST_F()127 test_stream = new CrasUnifiedStream(bad_rate_params, mock_manager_.get()); in TEST_F()138 CrasUnifiedStream* test_stream = CreateStream(CHANNEL_LAYOUT_MONO); in TEST_F()
28 class MEDIA_EXPORT CrasUnifiedStream : public AudioOutputStream {32 CrasUnifiedStream(const AudioParameters& params, AudioManagerCras* manager);36 virtual ~CrasUnifiedStream();117 DISALLOW_COPY_AND_ASSIGN(CrasUnifiedStream);
149 return new CrasUnifiedStream(params, this); in MakeOutputStream()