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:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ void BMidiText::WaitAndPrint(uint32 time)
|
|||||||
|
|
||||||
SnoozeUntil(time);
|
SnoozeUntil(time);
|
||||||
|
|
||||||
printf("%u: ", time - startTime);
|
printf("%lu: ", time - startTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -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,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"),
|
||||||
|
|||||||
Reference in New Issue
Block a user