blob: 2ff3a14c8162bf704a0bef6ccb4f7f3c087f8876 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef DEVICE_NEXUS_H
#define DEVICE_NEXUS_H
#include "audiere.h"
#include "device_mixer.h"
#include "nexus_platform.h"
#include "nexus_platform_features.h"
#include "bstd.h"
#include "bkni.h"
#include "bkni_multi.h"
#include "nexus_audio_playback.h"
#include "nexus_audio_output.h"
#include "nexus_audio_input.h"
#include "nexus_audio_decoder.h"
#include "nexus_audio_mixer.h"
#include "nexus_stc_channel.h"
#include "nexus_pid_channel.h"
#include "nexus_parser_band.h"
#include "nexus_hdmi_output.h"
namespace audiere {
class NexusAudioDevice : public MixerDevice {
public:
static NexusAudioDevice* create(const ParameterList& parameters);
private:
NexusAudioDevice(NEXUS_AudioPlaybackHandle playback,
int rate,
int buffer_size);
~NexusAudioDevice();
public:
void ADR_CALL update();
const char* ADR_CALL getName();
private:
BKNI_EventHandle m_event;
NEXUS_AudioPlaybackHandle m_playback;
NEXUS_AudioPlaybackStartSettings m_playbackSettings;
int m_buffer_size;
char* m_buffer;
int m_rate;
static void DataCallback(void *pParam1, int param2);
};
}
#endif
|