Xeno-rat
Loading...
Searching...
No Matches
NAudio.Wave.WaveOutCapabilities Struct Reference

WaveOutCapabilities structure (based on WAVEOUTCAPS2 from mmsystem.h) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveoutcaps_str.asp. More...

Collaboration diagram for NAudio.Wave.WaveOutCapabilities:

Public Member Functions

bool SupportsWaveFormat (SupportedWaveFormat waveFormat)
 Checks to see if a given SupportedWaveFormat is supported.
 

Properties

int Channels [get]
 Number of channels supported.
 
bool SupportsPlaybackRateControl [get]
 Whether playback control is supported.
 
string ProductName [get]
 The product name.
 
Guid NameGuid [get]
 The device name Guid (if provided)
 
Guid ProductGuid [get]
 The product name Guid (if provided)
 
Guid ManufacturerGuid [get]
 The manufacturer guid (if provided)
 

Private Attributes

short manufacturerId
 wMid
 
short productId
 wPid
 
int driverVersion
 vDriverVersion
 
string productName
 Product Name (szPname)
 
SupportedWaveFormat supportedFormats
 Supported formats (bit flags) dwFormats.
 
short channels
 Supported channels (1 for mono 2 for stereo) (wChannels) Seems to be set to -1 on a lot of devices.
 
short reserved
 wReserved1
 
WaveOutSupport support
 Optional functionality supported by the device.
 
Guid manufacturerGuid
 
Guid productGuid
 
Guid nameGuid
 

Static Private Attributes

const int MaxProductNameLength = 32
 

Detailed Description

WaveOutCapabilities structure (based on WAVEOUTCAPS2 from mmsystem.h) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_waveoutcaps_str.asp.

Member Function Documentation

◆ SupportsWaveFormat()

bool NAudio.Wave.WaveOutCapabilities.SupportsWaveFormat ( SupportedWaveFormat waveFormat)
inline

Checks to see if a given SupportedWaveFormat is supported.

Parameters
waveFormatThe SupportedWaveFormat
Returns
true if supported

Member Data Documentation

◆ channels

short NAudio.Wave.WaveOutCapabilities.channels
private

Supported channels (1 for mono 2 for stereo) (wChannels) Seems to be set to -1 on a lot of devices.

◆ driverVersion

int NAudio.Wave.WaveOutCapabilities.driverVersion
private

vDriverVersion

◆ manufacturerGuid

Guid NAudio.Wave.WaveOutCapabilities.manufacturerGuid
private

◆ manufacturerId

short NAudio.Wave.WaveOutCapabilities.manufacturerId
private

wMid

◆ MaxProductNameLength

const int NAudio.Wave.WaveOutCapabilities.MaxProductNameLength = 32
staticprivate

◆ nameGuid

Guid NAudio.Wave.WaveOutCapabilities.nameGuid
private

◆ productGuid

Guid NAudio.Wave.WaveOutCapabilities.productGuid
private

◆ productId

short NAudio.Wave.WaveOutCapabilities.productId
private

wPid

◆ productName

string NAudio.Wave.WaveOutCapabilities.productName
private

Product Name (szPname)

◆ reserved

short NAudio.Wave.WaveOutCapabilities.reserved
private

wReserved1

◆ support

WaveOutSupport NAudio.Wave.WaveOutCapabilities.support
private

Optional functionality supported by the device.

◆ supportedFormats

SupportedWaveFormat NAudio.Wave.WaveOutCapabilities.supportedFormats
private

Supported formats (bit flags) dwFormats.

Property Documentation

◆ Channels

int NAudio.Wave.WaveOutCapabilities.Channels
get

Number of channels supported.

◆ ManufacturerGuid

Guid NAudio.Wave.WaveOutCapabilities.ManufacturerGuid
get

The manufacturer guid (if provided)

◆ NameGuid

Guid NAudio.Wave.WaveOutCapabilities.NameGuid
get

The device name Guid (if provided)

◆ ProductGuid

Guid NAudio.Wave.WaveOutCapabilities.ProductGuid
get

The product name Guid (if provided)

◆ ProductName

string NAudio.Wave.WaveOutCapabilities.ProductName
get

The product name.

◆ SupportsPlaybackRateControl

bool NAudio.Wave.WaveOutCapabilities.SupportsPlaybackRateControl
get

Whether playback control is supported.


The documentation for this struct was generated from the following file: