1 // Copyright 2005-2019 The Mumble Developers. All rights reserved.
2 // Use of this source code is governed by a BSD-style license
3 // that can be found in the LICENSE file at the root of the
4 // Mumble source tree or at <https://www.mumble.info/LICENSE>.
5 
6 #ifndef MUMBLE_MUMBLE_ALSAAUDIO_H_
7 #define MUMBLE_MUMBLE_ALSAAUDIO_H_
8 
9 #include "AudioInput.h"
10 #include "AudioOutput.h"
11 
12 class ALSAAudioOutput;
13 class ALSAAudioInput;
14 
15 class ALSAAudioInput : public AudioInput {
16 	private:
17 		Q_OBJECT
18 		Q_DISABLE_COPY(ALSAAudioInput)
19 	public:
20 		ALSAAudioInput();
21 		~ALSAAudioInput() Q_DECL_OVERRIDE;
22 		void run() Q_DECL_OVERRIDE;
23 };
24 
25 class ALSAAudioOutput : public AudioOutput {
26 	private:
27 		Q_OBJECT
28 		Q_DISABLE_COPY(ALSAAudioOutput)
29 	protected:
30 	public:
31 		ALSAAudioOutput();
32 		~ALSAAudioOutput() Q_DECL_OVERRIDE;
33 		void run() Q_DECL_OVERRIDE;
34 };
35 
36 #else
37 class ALSAAudioInput;
38 class ALSAAudioOutput;
39 #endif
40