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:
mahlzeit 2004-06-25 08:47:00 +00:00
parent 8003750190
commit e0438418fd
4 changed files with 11 additions and 11 deletions

View File

@ -27,7 +27,7 @@
#define MIDI_PROTOCOL_H #define MIDI_PROTOCOL_H
// MIME signature of the midi_server application. // 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). // Timeout for delivering and responding to messages (microseconds).
#define TIMEOUT 2000000 #define TIMEOUT 2000000

View File

@ -33,7 +33,7 @@
MidiServerApp::MidiServerApp() MidiServerApp::MidiServerApp()
: BApplication(MIDI_SERVER_SIGNATURE) : BApplication(MIDI_SERVER_SIGNATURE)
{ {
TRACE(("Running OpenBeOS MIDI server")) TRACE(("Running Haiku MIDI server"))
nextId = 1; nextId = 1;
devWatcher.Start(); devWatcher.Start();
@ -59,7 +59,7 @@ MidiServerApp::~MidiServerApp()
void MidiServerApp::AboutRequested() void MidiServerApp::AboutRequested()
{ {
(new BAlert(0, (new BAlert(0,
"OpenBeOS midi_server\n\n" "Haiku midi_server 1.0.0 alpha\n\n"
"notes disguised as bytes\n" "notes disguised as bytes\n"
"propagating to endpoints,\n" "propagating to endpoints,\n"
"an aural delight", "an aural delight",

View File

@ -82,18 +82,18 @@ int32 MidiPortProducer::SpawnThread(void* data)
int32 MidiPortProducer::GetData() int32 MidiPortProducer::GetData()
{ {
uint8 msgBuf[3]; uint8 msgBuf[3];
uint8* sysexBuf; uint8* sysexBuf = NULL;
uint8* msgPtr; uint8* msgPtr = NULL;
size_t msgSize; size_t msgSize = 0;
size_t needed = 0; size_t needed = 0;
uint8 runningStatus = 0; uint8 runningStatus = 0;
bool haveSysEx = false; bool haveSysEx = false;
size_t sysexAlloc; size_t sysexAlloc = 0;
size_t sysexSize; size_t sysexSize = 0;
uint8 next; uint8 next = 0;
while (keepRunning) while (keepRunning)
{ {

View File

@ -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; resource app_flags B_SINGLE_LAUNCH | B_BACKGROUND_APP;
@ -11,7 +11,7 @@ resource app_version
variety = B_APPV_ALPHA, variety = B_APPV_ALPHA,
internal = 0, internal = 0,
short_info = "midi_server", short_info = "midi_server",
long_info = "OpenBeOS - midi_server" long_info = "Haiku midi_server"
}; };
resource(10, "bus_large") #'ICON' array resource(10, "bus_large") #'ICON' array