Xeno-rat
Loading...
Searching...
No Matches
NAudio.Wave.Compression Namespace Reference

Classes

class  AcmDriver
 Represents an installed ACM Driver. More...
 
struct  AcmDriverDetails
 Interop structure for ACM driver details (ACMDRIVERDETAILS) http://msdn.microsoft.com/en-us/library/dd742889%28VS.85%29.aspx. More...
 
class  AcmFormat
 ACM Format. More...
 
struct  AcmFormatChoose
 ACMFORMATCHOOSE http://msdn.microsoft.com/en-us/library/dd742911%28VS.85%29.aspx. More...
 
struct  AcmFormatDetails
 ACMFORMATDETAILS http://msdn.microsoft.com/en-us/library/dd742913%28VS.85%29.aspx. More...
 
class  AcmFormatTag
 ACM Format Tag. More...
 
struct  AcmFormatTagDetails
 
class  AcmInterop
 Interop definitions for Windows ACM (Audio Compression Manager) API. More...
 
class  AcmStream
 AcmStream encapsulates an Audio Compression Manager Stream used to convert audio from one format to another. More...
 
class  AcmStreamHeader
 
class  AcmStreamHeaderStruct
 Interop structure for ACM stream headers. ACMSTREAMHEADER http://msdn.microsoft.com/en-us/library/dd742926%28VS.85%29.aspx. More...
 
class  WaveFilter
 Summary description for WaveFilter. More...
 

Enumerations

enum  AcmDriverAddFlags { Local = 0 , Global = 8 , Function = 3 , NotifyWindowHandle = 4 }
 Flags for use with acmDriverAdd. More...
 
enum  AcmDriverDetailsSupportFlags {
  Codec = 0x00000001 , Converter = 0x00000002 , Filter = 0x00000004 , Hardware = 0x00000008 ,
  Async = 0x00000010 , Local = 0x40000000 , Disabled = unchecked((int)0x80000000)
}
 Flags indicating what support a particular ACM driver has. More...
 
enum  AcmDriverEnumFlags { NoLocal = 0x40000000 , Disabled = unchecked((int)0x80000000) }
 
enum  AcmFormatChooseStyleFlags {
  None = 0 , ShowHelp = 0x00000004 , EnableHook = 0x00000008 , EnableTemplate = 0x00000010 ,
  EnableTemplateHandle = 0x00000020 , InitToWfxStruct = 0x00000040 , ContextHelp = 0x00000080
}
 
enum  AcmFormatEnumFlags {
  None = 0 , Convert = 0x00100000 , Hardware = 0x00400000 , Input = 0x00800000 ,
  Channels = 0x00020000 , SamplesPerSecond = 0x00040000 , Output = 0x01000000 , Suggest = 0x00200000 ,
  BitsPerSample = 0x00080000 , FormatTag = 0x00010000
}
 Format Enumeration Flags. More...
 
enum  AcmFormatSuggestFlags {
  FormatTag = 0x00010000 , Channels = 0x00020000 , SamplesPerSecond = 0x00040000 , BitsPerSample = 0x00080000 ,
  TypeMask = 0x00FF0000
}
 
enum  AcmStreamHeaderStatusFlags { Done = 0x00010000 , Prepared = 0x00020000 , InQueue = 0x00100000 }
 
enum  AcmStreamOpenFlags {
  Query = 0x00000001 , Async = 0x00000002 , NonRealTime = 0x00000004 , CallbackTypeMask = 0x00070000 ,
  CallbackNull = 0x00000000 , CallbackWindow = 0x00010000 , CallbackTask = 0x00020000 , CallbackFunction = 0x00030000 ,
  CallbackThread = CallbackTask , CallbackEvent = 0x00050000
}
 
enum  AcmStreamSizeFlags { Source = 0x00000000 , Destination = 0x00000001 }
 

Enumeration Type Documentation

◆ AcmDriverAddFlags

Flags for use with acmDriverAdd.

Enumerator
Local 

ACM_DRIVERADDF_LOCAL.

Global 

ACM_DRIVERADDF_GLOBAL.

Function 

ACM_DRIVERADDF_FUNCTION.

NotifyWindowHandle 

ACM_DRIVERADDF_NOTIFYHWND.

◆ AcmDriverDetailsSupportFlags

Flags indicating what support a particular ACM driver has.

Enumerator
Codec 

ACMDRIVERDETAILS_SUPPORTF_CODEC - Codec.

Converter 

ACMDRIVERDETAILS_SUPPORTF_CONVERTER - Converter.

Filter 

ACMDRIVERDETAILS_SUPPORTF_FILTER - Filter.

Hardware 

ACMDRIVERDETAILS_SUPPORTF_HARDWARE - Hardware.

Async 

ACMDRIVERDETAILS_SUPPORTF_ASYNC - Async.

Local 

ACMDRIVERDETAILS_SUPPORTF_LOCAL - Local.

Disabled 

ACMDRIVERDETAILS_SUPPORTF_DISABLED - Disabled.

◆ AcmDriverEnumFlags

Enumerator
NoLocal 

ACM_DRIVERENUMF_NOLOCAL, Only global drivers should be included in the enumeration.

Disabled 

ACM_DRIVERENUMF_DISABLED, Disabled ACM drivers should be included in the enumeration.

◆ AcmFormatChooseStyleFlags

Enumerator
None 

None.

ShowHelp 

ACMFORMATCHOOSE_STYLEF_SHOWHELP.

EnableHook 

ACMFORMATCHOOSE_STYLEF_ENABLEHOOK.

EnableTemplate 

ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE.

EnableTemplateHandle 

ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE.

InitToWfxStruct 

ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT.

ContextHelp 

ACMFORMATCHOOSE_STYLEF_CONTEXTHELP.

◆ AcmFormatEnumFlags

Format Enumeration Flags.

Enumerator
None 

None.

Convert 

ACM_FORMATENUMF_CONVERT The WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will only enumerate destination formats that can be converted from the given pwfx format.

Hardware 

ACM_FORMATENUMF_HARDWARE The enumerator should only enumerate formats that are supported as native input or output formats on one or more of the installed waveform-audio devices. This flag provides a way for an application to choose only formats native to an installed waveform-audio device. This flag must be used with one or both of the ACM_FORMATENUMF_INPUT and ACM_FORMATENUMF_OUTPUT flags. Specifying both ACM_FORMATENUMF_INPUT and ACM_FORMATENUMF_OUTPUT will enumerate only formats that can be opened for input or output. This is true regardless of whether this flag is specified.

Input 

ACM_FORMATENUMF_INPUT Enumerator should enumerate only formats that are supported for input (recording).

Channels 

ACM_FORMATENUMF_NCHANNELS The nChannels member of the WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will enumerate only a format that conforms to this attribute.

SamplesPerSecond 

ACM_FORMATENUMF_NSAMPLESPERSEC The nSamplesPerSec member of the WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will enumerate only a format that conforms to this attribute.

Output 

ACM_FORMATENUMF_OUTPUT Enumerator should enumerate only formats that are supported for output (playback).

Suggest 

ACM_FORMATENUMF_SUGGEST The WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will enumerate all suggested destination formats for the given pwfx format. This mechanism can be used instead of the acmFormatSuggest function to allow an application to choose the best suggested format for conversion. The dwFormatIndex member will always be set to zero on return.

BitsPerSample 

ACM_FORMATENUMF_WBITSPERSAMPLE The wBitsPerSample member of the WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will enumerate only a format that conforms to this attribute.

FormatTag 

ACM_FORMATENUMF_WFORMATTAG The wFormatTag member of the WAVEFORMATEX structure pointed to by the pwfx member of the ACMFORMATDETAILS structure is valid. The enumerator will enumerate only a format that conforms to this attribute. The dwFormatTag member of the ACMFORMATDETAILS structure must be equal to the wFormatTag member.

◆ AcmFormatSuggestFlags

Enumerator
FormatTag 

ACM_FORMATSUGGESTF_WFORMATTAG.

Channels 

ACM_FORMATSUGGESTF_NCHANNELS.

SamplesPerSecond 

ACM_FORMATSUGGESTF_NSAMPLESPERSEC.

BitsPerSample 

ACM_FORMATSUGGESTF_WBITSPERSAMPLE.

TypeMask 

ACM_FORMATSUGGESTF_TYPEMASK.

◆ AcmStreamHeaderStatusFlags

Enumerator
Done 

ACMSTREAMHEADER_STATUSF_DONE.

Prepared 

ACMSTREAMHEADER_STATUSF_PREPARED.

InQueue 

ACMSTREAMHEADER_STATUSF_INQUEUE.

◆ AcmStreamOpenFlags

Enumerator
Query 

ACM_STREAMOPENF_QUERY, ACM will be queried to determine whether it supports the given conversion. A conversion stream will not be opened, and no handle will be returned in the phas parameter.

Async 

ACM_STREAMOPENF_ASYNC, Stream conversion should be performed asynchronously. If this flag is specified, the application can use a callback function to be notified when the conversion stream is opened and closed and after each buffer is converted. In addition to using a callback function, an application can examine the fdwStatus member of the ACMSTREAMHEADER structure for the ACMSTREAMHEADER_STATUSF_DONE flag.

NonRealTime 

ACM_STREAMOPENF_NONREALTIME, ACM will not consider time constraints when converting the data. By default, the driver will attempt to convert the data in real time. For some formats, specifying this flag might improve the audio quality or other characteristics.

CallbackTypeMask 

CALLBACK_TYPEMASK, callback type mask.

CallbackNull 

CALLBACK_NULL, no callback.

CallbackWindow 

CALLBACK_WINDOW, dwCallback is a HWND.

CallbackTask 

CALLBACK_TASK, dwCallback is a HTASK.

CallbackFunction 

CALLBACK_FUNCTION, dwCallback is a FARPROC.

CallbackThread 

CALLBACK_THREAD, thread ID replaces 16 bit task.

CallbackEvent 

CALLBACK_EVENT, dwCallback is an EVENT Handle.

◆ AcmStreamSizeFlags

Enumerator
Source 

ACM_STREAMSIZEF_SOURCE.

Destination 

ACM_STREAMSIZEF_DESTINATION.