| Index: media/audio/pulse/pulse_output.h
|
| diff --git a/media/audio/linux/pulse_output.h b/media/audio/pulse/pulse_output.h
|
| similarity index 93%
|
| rename from media/audio/linux/pulse_output.h
|
| rename to media/audio/pulse/pulse_output.h
|
| index 46aab578ff15b799cbfa67d685785befa51fa97c..c01af18fe7e3e6e6b59dd30bcfe4c0b2d82215ad 100644
|
| --- a/media/audio/linux/pulse_output.h
|
| +++ b/media/audio/pulse/pulse_output.h
|
| @@ -31,14 +31,23 @@ namespace media {
|
| class SeekableBuffer;
|
| }
|
|
|
| +#if defined(OS_LINUX)
|
| class AudioManagerLinux;
|
| +typedef AudioManagerLinux AudioManagerPulse;
|
| +#elif defined(OS_OPENBSD)
|
| +class AudioManagerOpenBSD;
|
| +typedef AudioManagerOpenBSD AudioManagerPulse;
|
| +#else
|
| +#error Unsupported platform
|
| +#endif
|
| +
|
| struct AudioParameters;
|
| class MessageLoop;
|
|
|
| class PulseAudioOutputStream : public AudioOutputStream {
|
| public:
|
| PulseAudioOutputStream(const AudioParameters& params,
|
| - AudioManagerLinux* manager,
|
| + AudioManagerPulse* manager,
|
| MessageLoop* message_loop);
|
|
|
| virtual ~PulseAudioOutputStream();
|
| @@ -86,7 +95,7 @@ class PulseAudioOutputStream : public AudioOutputStream {
|
| const uint32 bytes_per_frame_;
|
|
|
| // Audio manager that created us. Used to report that we've closed.
|
| - AudioManagerLinux* manager_;
|
| + AudioManagerPulse* manager_;
|
|
|
| // PulseAudio API structs.
|
| pa_context* pa_context_;
|
|
|