|
@@ -19,7 +19,7 @@ void usage( void ) {
|
|
exit( 0 );
|
|
exit( 0 );
|
|
}
|
|
}
|
|
|
|
|
|
-void mycallback( double deltatime, std::vector< unsigned char > *message, void *userData )
|
|
|
|
|
|
+void mycallback( double deltatime, std::vector< unsigned char > *message, void */*userData*/ )
|
|
{
|
|
{
|
|
unsigned int nBytes = message->size();
|
|
unsigned int nBytes = message->size();
|
|
for ( unsigned int i=0; i<nBytes; i++ )
|
|
for ( unsigned int i=0; i<nBytes; i++ )
|
|
@@ -33,7 +33,7 @@ void mycallback( double deltatime, std::vector< unsigned char > *message, void *
|
|
// It returns false if there are no ports available.
|
|
// It returns false if there are no ports available.
|
|
bool chooseMidiPort( RtMidiIn *rtmidi );
|
|
bool chooseMidiPort( RtMidiIn *rtmidi );
|
|
|
|
|
|
-int main( int argc, char *argv[] )
|
|
|
|
|
|
+int main( int argc, char ** /*argv[]*/ )
|
|
{
|
|
{
|
|
RtMidiIn *midiin = 0;
|
|
RtMidiIn *midiin = 0;
|
|
|
|
|