Click or drag to resize
Speaker Methods

The Speaker type exposes the following members.

Methods
  NameDescription
Public methodChangeFormat
Changes the playback format of the device.
Public methodDispose
Disposes the object.
(Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Overrides DisposableClassDispose(Boolean).)
Public methodStatic memberDisposeDevices
Disposes the previously created and not disposed devices.
Protected methodFinalize
(Inherited from DisposableClass.)
Public methodStatic memberGetDefaultDevice
Retrieves the default playback device.
Public methodStatic memberGetDefaultDevice(AudioApi)
Retrieves the default playback device.
Public methodStatic memberGetDefaultDevice(AudioFormat)
Retrieves the default playback device with desired format.
Public methodStatic memberGetDefaultDevice(WaveformParams)
Retrieves the default playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo)
Retrieves the specified playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo, AudioApi)
Retrieves the specified playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo, WaveformParams)
Retrieves the specified playback device.
Public methodStatic memberGetDevices
Retrieves the available playback devices.
Public methodStatic memberGetDevices(AudioApi)
Retrieves the available playback devices.
Public methodStatic memberGetDevicesCount
Retrieves the number of available playback devices.
Protected methodOnDataReceived (Overrides AbstractMediaReceiverTData, TFormatOnDataReceived(Object, TData).)
Protected methodSenderConnected (Inherited from AudioReceiver.)
Protected methodSenderDisconnected (Inherited from AudioReceiver.)
Protected methodSetReceiveFormats
Sets the audio formats that the audio handler can receive. If no audio format specified, all formats are supported.
(Inherited from AbstractMediaReceiverTData, TFormat.)
Public methodStart
Starts playing the audio from the speaker.
Public methodStop
Stops the playing.
Top
See Also