| @@ -26433,16 +26433,16 @@ public: | |||||
| #endif | #endif | ||||
| /** Destructor. */ | /** Destructor. */ | ||||
| ~MidiInput(); | |||||
| virtual ~MidiInput(); | |||||
| /** Returns the name of this device. | /** Returns the name of this device. | ||||
| */ | */ | ||||
| const String getName() const throw() { return name; } | |||||
| virtual const String getName() const throw() { return name; } | |||||
| /** Allows you to set a custom name for the device, in case you don't like the name | /** Allows you to set a custom name for the device, in case you don't like the name | ||||
| it was given when created. | it was given when created. | ||||
| */ | */ | ||||
| void setName (const String& newName) throw() { name = newName; } | |||||
| virtual void setName (const String& newName) throw() { name = newName; } | |||||
| /** Starts the device running. | /** Starts the device running. | ||||
| @@ -26452,17 +26452,17 @@ public: | |||||
| @see stop | @see stop | ||||
| */ | */ | ||||
| void start(); | |||||
| virtual void start(); | |||||
| /** Stops the device running. | /** Stops the device running. | ||||
| @see start | @see start | ||||
| */ | */ | ||||
| void stop(); | |||||
| virtual void stop(); | |||||
| juce_UseDebuggingNewOperator | juce_UseDebuggingNewOperator | ||||
| private: | |||||
| protected: | |||||
| String name; | String name; | ||||
| void* internal; | void* internal; | ||||
| @@ -32114,24 +32114,24 @@ public: | |||||
| #endif | #endif | ||||
| /** Destructor. */ | /** Destructor. */ | ||||
| ~MidiOutput(); | |||||
| virtual ~MidiOutput(); | |||||
| /** Makes this device output a midi message. | /** Makes this device output a midi message. | ||||
| @see MidiMessage | @see MidiMessage | ||||
| */ | */ | ||||
| void sendMessageNow (const MidiMessage& message); | |||||
| virtual void sendMessageNow (const MidiMessage& message); | |||||
| /** Sends a midi reset to the device. */ | /** Sends a midi reset to the device. */ | ||||
| void reset(); | |||||
| virtual void reset(); | |||||
| /** Returns the current volume setting for this device. */ | /** Returns the current volume setting for this device. */ | ||||
| bool getVolume (float& leftVol, | |||||
| float& rightVol); | |||||
| virtual bool getVolume (float& leftVol, | |||||
| float& rightVol); | |||||
| /** Changes the overall volume for this device. */ | /** Changes the overall volume for this device. */ | ||||
| void setVolume (float leftVol, | |||||
| float rightVol); | |||||
| virtual void setVolume (float leftVol, | |||||
| float rightVol); | |||||
| /** This lets you supply a block of messages that will be sent out at some point | /** This lets you supply a block of messages that will be sent out at some point | ||||
| in the future. | in the future. | ||||
| @@ -32150,29 +32150,29 @@ public: | |||||
| samplesPerSecondForBuffer value is needed to convert this sample position to a | samplesPerSecondForBuffer value is needed to convert this sample position to a | ||||
| real time. | real time. | ||||
| */ | */ | ||||
| void sendBlockOfMessages (const MidiBuffer& buffer, | |||||
| const double millisecondCounterToStartAt, | |||||
| double samplesPerSecondForBuffer) throw(); | |||||
| virtual void sendBlockOfMessages (const MidiBuffer& buffer, | |||||
| const double millisecondCounterToStartAt, | |||||
| double samplesPerSecondForBuffer) throw(); | |||||
| /** Gets rid of any midi messages that had been added by sendBlockOfMessages(). | /** Gets rid of any midi messages that had been added by sendBlockOfMessages(). | ||||
| */ | */ | ||||
| void clearAllPendingMessages() throw(); | |||||
| virtual void clearAllPendingMessages() throw(); | |||||
| /** Starts up a background thread so that the device can send blocks of data. | /** Starts up a background thread so that the device can send blocks of data. | ||||
| Call this to get the device ready, before using sendBlockOfMessages(). | Call this to get the device ready, before using sendBlockOfMessages(). | ||||
| */ | */ | ||||
| void startBackgroundThread() throw(); | |||||
| virtual void startBackgroundThread() throw(); | |||||
| /** Stops the background thread, and clears any pending midi events. | /** Stops the background thread, and clears any pending midi events. | ||||
| @see startBackgroundThread | @see startBackgroundThread | ||||
| */ | */ | ||||
| void stopBackgroundThread() throw(); | |||||
| virtual void stopBackgroundThread() throw(); | |||||
| juce_UseDebuggingNewOperator | juce_UseDebuggingNewOperator | ||||
| private: | |||||
| protected: | |||||
| void* internal; | void* internal; | ||||
| struct PendingMessage | struct PendingMessage | ||||