Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: media/audio/openbsd/audio_manager_openbsd.h

Issue 1301003: OpenBSD media/audio support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
Evan Martin 2010/03/25 21:42:08 2010
Peter Valchev 2010/03/25 21:47:29 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
6 #define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
7
8 #include "media/audio/audio_output.h"
9
10 class AudioManagerOpenBSD : public AudioManager {
11 public:
12 AudioManagerOpenBSD();
13
14 // Call before using a newly created AudioManagerOpenBSD instance.
15 virtual void Init();
16
17 // Implementation of AudioManager.
18 virtual bool HasAudioDevices();
19 virtual AudioOutputStream* MakeAudioStream(Format format, int channels,
20 int sample_rate,
21 char bits_per_sample);
22 virtual void MuteAll();
23 virtual void UnMuteAll();
24
25 protected:
26 // Friend function for invoking the destructor at exit.
27 friend void DestroyAudioManagerOpenBSD(void*);
28 virtual ~AudioManagerOpenBSD();
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD);
32 };
33
34 #endif // MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/openbsd/audio_manager_openbsd.cc » ('j') | media/audio/openbsd/audio_manager_openbsd.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698