Haiku be thy name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8003750190
commit
e0438418fd
@ -27,7 +27,7 @@
|
||||
#define MIDI_PROTOCOL_H
|
||||
|
||||
// MIME signature of the midi_server application.
|
||||
#define MIDI_SERVER_SIGNATURE "application/x-vnd.OpenBeOS.midi-server"
|
||||
#define MIDI_SERVER_SIGNATURE "application/x-vnd.haiku.midi-server"
|
||||
|
||||
// Timeout for delivering and responding to messages (microseconds).
|
||||
#define TIMEOUT 2000000
|
||||
|
@ -33,7 +33,7 @@
|
||||
MidiServerApp::MidiServerApp()
|
||||
: BApplication(MIDI_SERVER_SIGNATURE)
|
||||
{
|
||||
TRACE(("Running OpenBeOS MIDI server"))
|
||||
TRACE(("Running Haiku MIDI server"))
|
||||
|
||||
nextId = 1;
|
||||
devWatcher.Start();
|
||||
@ -59,7 +59,7 @@ MidiServerApp::~MidiServerApp()
|
||||
void MidiServerApp::AboutRequested()
|
||||
{
|
||||
(new BAlert(0,
|
||||
"OpenBeOS midi_server\n\n"
|
||||
"Haiku midi_server 1.0.0 alpha\n\n"
|
||||
"notes disguised as bytes\n"
|
||||
"propagating to endpoints,\n"
|
||||
"an aural delight",
|
||||
|
@ -82,18 +82,18 @@ int32 MidiPortProducer::SpawnThread(void* data)
|
||||
int32 MidiPortProducer::GetData()
|
||||
{
|
||||
uint8 msgBuf[3];
|
||||
uint8* sysexBuf;
|
||||
uint8* sysexBuf = NULL;
|
||||
|
||||
uint8* msgPtr;
|
||||
size_t msgSize;
|
||||
uint8* msgPtr = NULL;
|
||||
size_t msgSize = 0;
|
||||
size_t needed = 0;
|
||||
uint8 runningStatus = 0;
|
||||
|
||||
bool haveSysEx = false;
|
||||
size_t sysexAlloc;
|
||||
size_t sysexSize;
|
||||
size_t sysexAlloc = 0;
|
||||
size_t sysexSize = 0;
|
||||
|
||||
uint8 next;
|
||||
uint8 next = 0;
|
||||
|
||||
while (keepRunning)
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
resource app_signature "application/x-vnd.OpenBeOS.midi-server";
|
||||
resource app_signature "application/x-vnd.haiku.midi-server";
|
||||
|
||||
resource app_flags B_SINGLE_LAUNCH | B_BACKGROUND_APP;
|
||||
|
||||
@ -11,7 +11,7 @@ resource app_version
|
||||
variety = B_APPV_ALPHA,
|
||||
internal = 0,
|
||||
short_info = "midi_server",
|
||||
long_info = "OpenBeOS - midi_server"
|
||||
long_info = "Haiku midi_server"
|
||||
};
|
||||
|
||||
resource(10, "bus_large") #'ICON' array
|
||||
|
Loading…
Reference in New Issue
Block a user