WindowsPlayerDeviceMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

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

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsPlayerDeviceMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Audio MBS Audio Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No All
This class describes the capabilities of a waveform-audio output device.
Example
// fill devices into a popupmenu
Dim c As Integer = WindowsPlayerMBS.DeviceCount
For i As Integer = 0 To c-1
Dim d As WindowsPlayerDeviceMBS = WindowsPlayerMBS.Device(i)

PopupMenu1.AddRow d.Name+" "+Str(d.Channels)
PopupMenu1.RowTag(i) = d
Next

Format Constants

Constant Value Description
kFormat1M08 &h00000001 11.025 kHz, mono, 8-bit
kFormat1M16 &h00000004 11.025 kHz, mono, 16-bit
kFormat1S08 &h00000002 11.025 kHz, stereo, 8-bit
kFormat1S16 &h00000008 11.025 kHz, stereo, 16-bit
kFormat2M08 &h00000010 22.05 kHz, mono, 8-bit
kFormat2M16 &h00000040 22.05 kHz, stereo, 8-bit
kFormat2S08 &h00000020 22.05 kHz, mono, 16-bit
kFormat2S16 &h00000080 22.05 kHz, stereo, 16-bit
kFormat44M08 &h00000100 44.1 kHz, mono, 8-bit
kFormat44M16 &h00000400 44.1 kHz, mono, 16-bit
kFormat44S08 &h00000200 44.1 kHz, stereo, 8-bit
kFormat44S16 &h00000800 44.1 kHz, stereo, 16-bit
kFormat48M08 &h00001000 48 kHz, mono, 8-bit
kFormat48M16 &h00004000 48 kHz, mono, 16-bit
kFormat48S08 &h00002000 48 kHz, stereo, 8-bit
kFormat48S16 &h00008000 48 kHz, stereo, 16-bit
kFormat96M08 &h00010000 96 kHz, mono, 8-bit
kFormat96M16 &h00040000 96 kHz, mono, 16-bit
kFormat96S08 &h00020000 96 kHz, stereo, 8-bit
kFormat96S16 &h00080000 96 kHz, stereo, 16-bit
kFormatInvalid 0 Invalid value.

Support Flags

Constant Value Description
kSupportLRVolume 8 Supports separate left and right volume control.
kSupportPitch 1 Supports pitch control.
kSupportPlaybackRate 2 Supports playback rate control.
kSupportSampleAccurate 32 Returns sample-accurate position information.
kSupportSync 16 The driver is synchronous and will block while playing a buffer.
kSupportVolume 4 Supports volume control.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes


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


WindowsPipeMBS   -   WindowsPlayerMBS


💬 Ask a question or report a problem