Browse Source

(updated amalgamated.h to match last check-in)

tags/2021-05-28
jules 17 years ago
parent
commit
693c94978c
1 changed files with 20 additions and 20 deletions
  1. +20
    -20
      juce_amalgamated.h

+ 20
- 20
juce_amalgamated.h View File

@@ -26433,16 +26433,16 @@ public:
#endif

/** Destructor. */
~MidiInput();
virtual ~MidiInput();

/** 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
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.

@@ -26452,17 +26452,17 @@ public:

@see stop
*/
void start();
virtual void start();

/** Stops the device running.

@see start
*/
void stop();
virtual void stop();

juce_UseDebuggingNewOperator

private:
protected:
String name;
void* internal;

@@ -32114,24 +32114,24 @@ public:
#endif

/** Destructor. */
~MidiOutput();
virtual ~MidiOutput();

/** Makes this device output a midi message.

@see MidiMessage
*/
void sendMessageNow (const MidiMessage& message);
virtual void sendMessageNow (const MidiMessage& message);

/** Sends a midi reset to the device. */
void reset();
virtual void reset();

/** 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. */
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
in the future.
@@ -32150,29 +32150,29 @@ public:
samplesPerSecondForBuffer value is needed to convert this sample position to a
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().
*/
void clearAllPendingMessages() throw();
virtual void clearAllPendingMessages() throw();

/** Starts up a background thread so that the device can send blocks of data.

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.

@see startBackgroundThread
*/
void stopBackgroundThread() throw();
virtual void stopBackgroundThread() throw();

juce_UseDebuggingNewOperator

private:
protected:
void* internal;

struct PendingMessage


Loading…
Cancel
Save