summaryrefslogtreecommitdiff
path: root/platform/android/.old/audio_driver_android.h
blob: 08fbaa927ef8d175169f2fb943a75aed0b7c813f (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
#ifndef AUDIO_DRIVER_ANDROID_H
#define AUDIO_DRIVER_ANDROID_H

#include "servers/audio/audio_server_sw.h"

class AudioDriverAndroid : public AudioDriverSW {


	static AudioDriverAndroid* s_ad;

public:

	void set_singleton();

	virtual const char* get_name() const;

	virtual Error init();
	virtual void start();
	virtual int get_mix_rate() const ;
	virtual OutputFormat get_output_format() const;
	virtual void lock();
	virtual void unlock();
	virtual void finish();


	AudioDriverAndroid();
};

#endif // AUDIO_DRIVER_ANDROID_H