MBS Plugin Documentation

Search:

Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchie

New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0

The list of the   themes,   classes,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

QTSoundOutputMBS.ChannelCount as Integer
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The number of channels.
Notes:
1 = mono, 2 = stereo.
(Read and Write property)
class QTSoundOutputMBS
class, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: A class to play memoryblocks filled with sound data.
QTSoundOutputMBS.close
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The destructor.
Notes:
There is no need to call this method except you want to free all resources of this object now without waiting for Realbasic to do it for you.
(e.g. some Realbasic versions crash on Windows if there are plugin objects not closed.)
QTSoundOutputMBS.Finished
event, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 7.8, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Called when the playback is done.
Notes:
Called for each play command.
Make sure you keep a reference of the object around so the event can come and will not crash your app.
QTSoundOutputMBS.Flush
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Flushes all commands on the sound channel command queue.
Notes:
This will not stop the sound currently played.
Lasterror is set.
QTSoundOutputMBS.Format as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The format of the data inside the memoryblock.
Notes:
Default is 32bit float.
(Read and Write property)
QTSoundOutputMBS.GetVolume(byref left as integer, byref right as integer)
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns the current volume.
Notes: Lasterror is set.
QTSoundOutputMBS.Handle as Integer
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The toolbox handle to the sound channel used.
Notes: (Read and Write property)
QTSoundOutputMBS.kFloat32Format as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 4 byte float values in big endian format.
(Read only property)
QTSoundOutputMBS.kFloat64Format as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 8 byte double values in big endian format.
(Read only property)
QTSoundOutputMBS.kInteger16BigEndianFormat as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 2 byte integer (short) values (Big Endian = Mac byte ordering).
(Read only property)
QTSoundOutputMBS.kInteger16LittleEndianFormat as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 2 byte integer (short) values (Little Endian = Windows byte ordering).
(Read only property)
QTSoundOutputMBS.kInteger32BigEndianFormat as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 4 byte integer values (Big Endian = Mac byte ordering).
(Read only property)
QTSoundOutputMBS.kInteger32LittleEndianFormat as String
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: One of the values for the format property.
Notes:
The memoryblock is filled with 4 byte integer values (Litte Endian = Windows byte ordering).
(Read only property)
QTSoundOutputMBS.Lasterror as Integer
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The last error code reported.
Notes:
0 for no error, -1 for plugin error (out of memory, wrong parameters, etc.).
Else a Mac OS error code.
(Read and Write property)
QTSoundOutputMBS.Pause
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Pauses the currently played sound.
Notes: Lasterror is set.
QTSoundOutputMBS.Play(buf as memoryblock, size as integer)
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Plays the given sound inside the memoryblock with the given size.
Notes: Lasterror is set.
QTSoundOutputMBS.Quiet
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Stops the current playing sound.
Notes: Lasterror is set.
QTSoundOutputMBS.Resume
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Resumes playback.
Notes: Lasterror is set.
QTSoundOutputMBS.SampleRate as Integer
property, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The samplerate of the sound to play.
Notes: (Read and Write property)
QTSoundOutputMBS.SetVolume(left as integer, right as integer)
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Sets the volume for the two speakers.
Notes: Lasterror is set.
QTSoundOutputMBS.Wait(Seconds as double)
method, QuickTime, MBS QuickTime Plugin (QTCoreClasses), class QTSoundOutputMBS, Plugin version: 4.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Adds a wait command to the sound channel's command queue.

The items on this page are in the following plugins: MBS QuickTime Plugin.