Fixed warnings on geekgadgets compiler.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7559 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit
2004-05-13 09:44:22 +00:00
parent 456cec68d1
commit 9138338c72
5 changed files with 20 additions and 8 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002-2003 Matthijs Hollemans * Copyright (c) 2002-2004 Matthijs Hollemans
* Copyright (c) 2002 Jerome Leveque * Copyright (c) 2002 Jerome Leveque
* Copyright (c) 2002 Paul Stadler * Copyright (c) 2002 Paul Stadler
* *
@@ -924,7 +924,7 @@ void BMidiStore::WriteTrack()
uint32 oldTime; uint32 oldTime;
uint32 newTime; uint32 newTime;
for (int32 t = 0; t < CountEvents(); ++t) for (uint32 t = 0; t < CountEvents(); ++t)
{ {
BMidiEvent* event = EventAt(t); BMidiEvent* event = EventAt(t);
+8 -2
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002-2003 Matthijs Hollemans * Copyright (c) 2002-2004 Matthijs Hollemans
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -27,7 +27,12 @@
BMidiSynth::BMidiSynth() BMidiSynth::BMidiSynth()
{ {
UNIMPLEMENTED /* not complete yet */
if (be_synth == NULL)
{
new BSynth();
}
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@@ -147,6 +152,7 @@ void BMidiSynth::FlushInstrumentCache(bool startStopCache)
uint32 BMidiSynth::Tick(void) const uint32 BMidiSynth::Tick(void) const
{ {
UNIMPLEMENTED UNIMPLEMENTED
return 0;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
+1 -1
View File
@@ -180,7 +180,7 @@ void BMidiText::WaitAndPrint(uint32 time)
SnoozeUntil(time); SnoozeUntil(time);
printf("%u: ", time - startTime); printf("%lu: ", time - startTime);
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
+8 -2
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002-2003 Matthijs Hollemans * Copyright (c) 2002-2004 Matthijs Hollemans
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@@ -22,12 +22,18 @@
#include "debug.h" #include "debug.h"
#include "Samples.h" #include "Samples.h"
#include "Synth.h"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
BSamples::BSamples() BSamples::BSamples()
{ {
UNIMPLEMENTED /* not complete yet */
if (be_synth == NULL)
{
new BSynth();
}
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2002-2003 Matthijs Hollemans * Copyright (c) 2002-2004 Matthijs Hollemans
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),