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

Side by Side Diff: media/audio/freebsd/audio_manager_freebsd.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « ipc/ipc.gyp ('k') | media/audio/freebsd/audio_manager_freebsd.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
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_LINUX_AUDIO_MANAGER_FREEBSD_H_
6 #define MEDIA_AUDIO_LINUX_AUDIO_MANAGER_FREEBSD_H_
7
8 //#include <map>
9
10 //#include "base/ref_counted.h"
11 //#include "base/scoped_ptr.h"
12 //#include "base/thread.h"
13 #include "media/audio/audio_output.h"
14
15 class AudioManagerFreeBSD : public AudioManager {
16 public:
17 AudioManagerFreeBSD();
18
19 // Call before using a newly created AudioManagerFreeBSD instance.
20 virtual void Init();
21
22 // Implementation of AudioManager.
23 virtual bool HasAudioDevices();
24 virtual AudioOutputStream* MakeAudioStream(Format format, int channels,
25 int sample_rate,
26 char bits_per_sample);
27 virtual void MuteAll();
28 virtual void UnMuteAll();
29
30 protected:
31 // Friend function for invoking the destructor at exit.
32 friend void DestroyAudioManagerFreeBSD(void*);
33 virtual ~AudioManagerFreeBSD();
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(AudioManagerFreeBSD);
37 };
38
39 #endif // MEDIA_AUDIO_LINUX_AUDIO_MANAGER_FREEBSD_H_
OLDNEW
« no previous file with comments | « ipc/ipc.gyp ('k') | media/audio/freebsd/audio_manager_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698