Rename PortSetDeviceMetadata to PortSetDefaultMetadata
[jack2.git] / android / BpAndroidShm.h
blobe079cc49e1aacde167ff43921986168468252304
1 #ifndef BPANDROIDSHM
2 #define BPANDROIDSHM
4 #include <binder/Parcel.h>
5 #include "IAndroidShm.h"
6 #include <binder/IMemory.h>
8 namespace android {
9 class BpAndroidShm: public BpInterface<IAndroidShm> {
10 public:
11 BpAndroidShm( const sp<IBinder> & impl);
12 virtual ~BpAndroidShm();
13 virtual sp<IMemoryHeap> getBuffer(int index);
14 virtual int sendCommand(const char *command);
15 virtual int allocShm(const int size); // if negative return value is error
16 virtual int removeShm(const unsigned int index); // shared memory Á¦°Å
17 virtual int isAllocated(const unsigned int index); // allocated ¿©ºÎ È®ÀÎ
18 virtual int setRegistryIndex(const unsigned int index);
19 virtual int getRegistryIndex();
21 virtual sp<IMemoryHeap> InitSemaphore(const char* name);
25 #endif