blob: 8d70dfee8faa9ff10449faa2c94185a1e422b6fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef DEVICE_AL_H
#define DEVICE_AL_H
extern "C" {
#include <dmedia/audio.h>
}
#include "audiere.h"
#include "device_mixer.h"
#include "resampler.h"
namespace audiere {
class ALAudioDevice : public MixerDevice {
public:
static ALAudioDevice* create(const ParameterList& parameters);
private:
ALAudioDevice(ALport port, int rate);
~ALAudioDevice();
public:
void ADR_CALL update();
const char* ADR_CALL getName();
private:
ALport m_port;
friend class ALOutputStream;
};
}
#endif
|