Home
last modified time | relevance | path

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

/external/chromium_org/remoting/host/linux/
Daudio_pipe_reader.cc20 const int kSampleBytesPerSecond = AudioPipeReader::kSamplingRate *
21 AudioPipeReader::kChannels *
22 AudioPipeReader::kBytesPerSample;
43 scoped_refptr<AudioPipeReader> AudioPipeReader::Create( in Create()
49 scoped_refptr<AudioPipeReader> pipe_reader = in Create()
50 new AudioPipeReader(task_runner, pipe_path); in Create()
52 FROM_HERE, base::Bind(&AudioPipeReader::StartOnAudioThread, pipe_reader)); in Create()
56 AudioPipeReader::AudioPipeReader( in AudioPipeReader() function in remoting::AudioPipeReader
64 AudioPipeReader::~AudioPipeReader() {} in ~AudioPipeReader()
66 void AudioPipeReader::AddObserver(StreamObserver* observer) { in AddObserver()
[all …]
Daudio_pipe_reader.h26 class AudioPipeReader
27 : public base::RefCountedThreadSafe<AudioPipeReader, AudioPipeReaderTraits>,
44 static scoped_refptr<AudioPipeReader> Create(
59 friend class base::DeleteHelper<AudioPipeReader>;
60 friend class base::RefCountedThreadSafe<AudioPipeReader>;
63 AudioPipeReader(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
65 virtual ~AudioPipeReader();
82 base::RepeatingTimer<AudioPipeReader> timer_;
98 DISALLOW_COPY_AND_ASSIGN(AudioPipeReader);
103 static void Destruct(const AudioPipeReader* audio_pipe_reader);
Daudio_pipe_reader_unittest.cc22 public AudioPipeReader::StreamObserver {
34 reader_ = AudioPipeReader::Create(audio_thread_->message_loop_proxy(), in SetUp()
81 scoped_refptr<AudioPipeReader> reader_;
104 int test_data_size = AudioPipeReader::kSamplingRate * in TEST_F()
105 AudioPipeReader::kChannels * in TEST_F()
106 AudioPipeReader::kBytesPerSample / 2; in TEST_F()
/external/chromium_org/remoting/host/
Daudio_capturer_linux.cc16 base::LazyInstance<scoped_refptr<AudioPipeReader> >::Leaky
27 scoped_refptr<AudioPipeReader> pipe_reader; in InitializePipeReader()
29 pipe_reader = AudioPipeReader::Create(task_runner, pipe_name); in InitializePipeReader()
34 scoped_refptr<AudioPipeReader> pipe_reader) in AudioCapturerLinux()
44 silence_detector_.Reset(AudioPipeReader::kSamplingRate, in Start()
45 AudioPipeReader::kChannels); in Start()
72 packet->set_sampling_rate(AudioPipeReader::kSamplingRate); in OnDataRead()
73 packet->set_bytes_per_sample(AudioPipeReader::kBytesPerSample); in OnDataRead()
74 packet->set_channels(AudioPipeReader::kChannels); in OnDataRead()
83 scoped_refptr<AudioPipeReader> reader = in Create()
Daudio_capturer_linux.h22 public AudioPipeReader::StreamObserver {
32 scoped_refptr<AudioPipeReader> pipe_reader);
44 scoped_refptr<AudioPipeReader> pipe_reader_;