midi2 kit clean up: license header, code style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17860 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,8 +31,8 @@ private:
|
||||
virtual void _Reserved7();
|
||||
virtual void _Reserved8();
|
||||
|
||||
port_id port;
|
||||
bigtime_t latency;
|
||||
port_id fPort;
|
||||
bigtime_t fLatency;
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
@@ -106,10 +106,10 @@ private:
|
||||
|
||||
int32 EventThread();
|
||||
|
||||
bigtime_t timeout;
|
||||
void* timeoutData;
|
||||
int32 currentProducer;
|
||||
thread_id thread;
|
||||
bigtime_t fTimeout;
|
||||
void* fTimeoutData;
|
||||
int32 fCurrentProducer;
|
||||
thread_id fThread;
|
||||
|
||||
uint32 _reserved[1];
|
||||
};
|
||||
|
||||
@@ -66,14 +66,14 @@ private:
|
||||
bool LockLooper() const;
|
||||
void UnlockLooper() const;
|
||||
|
||||
int32 id;
|
||||
BString name;
|
||||
int32 refCount;
|
||||
BMessage* properties;
|
||||
bool isLocal;
|
||||
bool isConsumer;
|
||||
bool isRegistered;
|
||||
bool isAlive;
|
||||
int32 fId;
|
||||
BString fName;
|
||||
int32 fRefCount;
|
||||
BMessage* fProperties;
|
||||
bool fIsLocal;
|
||||
bool fIsConsumer;
|
||||
bool fIsRegistered;
|
||||
bool fIsAlive;
|
||||
|
||||
uint32 _reserved[4];
|
||||
};
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
#ifndef _MIDI_PRODUCER_H
|
||||
#define _MIDI_PRODUCER_H
|
||||
|
||||
#include <List.h>
|
||||
#include <Locker.h>
|
||||
#include <MidiEndpoint.h>
|
||||
|
||||
class BList;
|
||||
|
||||
namespace BPrivate { class BMidiRosterLooper; }
|
||||
|
||||
class BMidiProducer : public BMidiEndpoint
|
||||
@@ -46,8 +45,8 @@ private:
|
||||
bool LockProducer() const;
|
||||
void UnlockProducer() const;
|
||||
|
||||
BList* connections;
|
||||
BLocker* locker;
|
||||
mutable BLocker fLocker;
|
||||
BList fConnections;
|
||||
|
||||
uint32 _reserved[10];
|
||||
};
|
||||
|
||||
@@ -75,8 +75,8 @@ private:
|
||||
|
||||
status_t SendRequest(BMessage*, BMessage*);
|
||||
|
||||
BPrivate::BMidiRosterLooper* looper;
|
||||
BMessenger* server;
|
||||
BPrivate::BMidiRosterLooper* fLooper;
|
||||
BMessenger fServer;
|
||||
|
||||
uint32 _reserved[16];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user