comparison data/midi/rtmidi/RtMidi.h @ 1399:08bbbd2023c4

Avoid compiler warning for dummy build
author Chris Cannam
date Mon, 06 Mar 2017 09:34:29 +0000
parents b0533d195c83
children
comparison
equal deleted inserted replaced
1398:e1926cba940c 1399:08bbbd2023c4
734 RtMidi::Api getCurrentApi( void ) { return RtMidi::RTMIDI_DUMMY; } 734 RtMidi::Api getCurrentApi( void ) { return RtMidi::RTMIDI_DUMMY; }
735 void openPort( unsigned int /*portNumber*/, const std::string /*portName*/ ) {} 735 void openPort( unsigned int /*portNumber*/, const std::string /*portName*/ ) {}
736 void openVirtualPort( const std::string /*portName*/ ) {} 736 void openVirtualPort( const std::string /*portName*/ ) {}
737 void closePort( void ) {} 737 void closePort( void ) {}
738 unsigned int getPortCount( void ) { return 0; } 738 unsigned int getPortCount( void ) { return 0; }
739 std::string getPortName( unsigned int portNumber ) { return ""; } 739 std::string getPortName( unsigned int /*portNumber*/ ) { return ""; }
740 740
741 protected: 741 protected:
742 void initialize( const std::string& /*clientName*/ ) {} 742 void initialize( const std::string& /*clientName*/ ) {}
743 }; 743 };
744 744