| Index: media/audio/pulse/pulse_input.h
|
| diff --git a/media/audio/pulse/pulse_input.h b/media/audio/pulse/pulse_input.h
|
| index 7e64bb296a8749c0a15ce2fa3679897a29f338bb..695c39f390d178227e2981b374fc4212dfce54bf 100644
|
| --- a/media/audio/pulse/pulse_input.h
|
| +++ b/media/audio/pulse/pulse_input.h
|
| @@ -20,8 +20,8 @@ struct pa_threaded_mainloop;
|
|
|
| namespace media {
|
|
|
| +class AudioBlockFifo;
|
| class AudioManagerPulse;
|
| -class SeekableBuffer;
|
|
|
| class PulseAudioInputStream : public AgcAudioStream<AudioInputStream> {
|
| public:
|
| @@ -61,11 +61,7 @@ class PulseAudioInputStream : public AgcAudioStream<AudioInputStream> {
|
| bool stream_started_;
|
|
|
| // Holds the data from the OS.
|
| - scoped_ptr<media::SeekableBuffer> buffer_;
|
| -
|
| - // Temporary storage for recorded data. It gets a packet of data from
|
| - // |buffer_| and deliver the data to OnData() callback.
|
| - scoped_ptr<uint8[]> audio_data_buffer_;
|
| + scoped_ptr<AudioBlockFifo> fifo_;
|
|
|
| // PulseAudio API structs.
|
| pa_threaded_mainloop* pa_mainloop_; // Weak.
|
| @@ -75,8 +71,6 @@ class PulseAudioInputStream : public AgcAudioStream<AudioInputStream> {
|
| // Flag indicating the state of the context has been changed.
|
| bool context_state_changed_;
|
|
|
| - scoped_ptr<AudioBus> audio_bus_;
|
| -
|
| base::ThreadChecker thread_checker_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PulseAudioInputStream);
|
|
|