SharpDX.XAPO
Process
IXAPO
Queries if a specific input format is supported for a given output format.
Output format.
Input format to check for being supported.
If not NULL, and the input format is not supported for the given output format, ppSupportedInputFormat returns a pointer to the closest input format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsInputFormatSupported([None] const WAVEFORMATEX* pOutputFormat,[None] const WAVEFORMATEX* pRequestedInputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedInputFormat)
Queries if a specific output format is supported for a given input format.
[in] Input format.
[in] Output format to check for being supported.
[out] If not NULL and the output format is not supported for the given input format, ppSupportedOutputFormat returns a pointer to the closest output format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsOutputFormatSupported([None] const WAVEFORMATEX* pInputFormat,[None] const WAVEFORMATEX* pRequestedOutputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedOutputFormat)
Performs any effect-specific initialization.
Effect-specific initialization parameters, may be NULL if DataByteSize is 0.
No documentation.
HRESULT IXAPO::Initialize([In, Buffer, Optional] const void* pData,[None] UINT32 DataByteSize)
Resets variables dependent on frame history.
void IXAPO::Reset()
Called by XAudio2 to lock the input and output configurations of an XAPO allowing it to
do any final initialization before {{Process}} is called on the realtime thread.
Array of input structures.pInputLockedParameters may be NULL if InputLockedParameterCount is 0, otherwise itmust have InputLockedParameterCount elements.
Array of output structures.pOutputLockedParameters may be NULL if OutputLockedParameterCount is 0, otherwise itmust have OutputLockedParameterCount elements.
No documentation.
HRESULT IXAPO::LockForProcess([None] UINT32 InputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pInputLockedParameters,[None] UINT32 OutputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pOutputLockedParameters)
Deallocates variables that were allocated with the {{LockForProcess}} method.
void IXAPO::UnlockForProcess()
Runs the XAPO's digital signal processing (DSP) code on the given input and output buffers.
[in] Input array of structures.
[in, out] Output array of structures. On input, the value of .ValidFrameCount indicates the number of frames that the XAPO should write to the output buffer. On output, the value of .ValidFrameCount indicates the actual number of frames written.
TRUE to process normally; FALSE to process thru. See Remarks for additional information.
void IXAPO::Process([None] UINT32 InputProcessParameterCount,[In, Buffer, Optional] const XAPO_PROCESS_BUFFER_PARAMETERS* pInputProcessParameters,[None] UINT32 OutputProcessParameterCount,[InOut, Buffer, Optional] XAPO_PROCESS_BUFFER_PARAMETERS* pOutputProcessParameters,[None] BOOL IsEnabled)
Returns the number of input frames required to generate the given number of output frames.
The number of output frames desired.
No documentation.
UINT32 IXAPO::CalcInputFrames([None] UINT32 OutputFrameCount)
Returns the number of output frames that will be generated from a given number of input frames.
The number of input frames.
No documentation.
UINT32 IXAPO::CalcOutputFrames([None] UINT32 InputFrameCount)
Returns the registration properties of an XAPO.
a structure containing theregistration properties the XAPO was created with; use XAPOFree to free thestructure.
HRESULT IXAPO::GetRegistrationProperties([Out] XAPO_REGISTRATION_PROPERTIES** ppRegistrationProperties)
Base AudioProcessor class that implements methods from . This class is
also providing its parameter through a generic.
type of the parameter for this AudioProcessor
QueryInterface( RFFIID
Parameters
- riid The requested interface ID. For the interface this will be __uuidof(), for the interface this will be __uuidof().
- ppvIf the requested interface is supported
ppv will be set to a reference to the interface and the object's reference count
will be incremented by 1.
Return ValueReturns if the interface is supported; otherwise returns E_NOINTERFACE.
IXAPOParameters
Sets effect-specific parameters.
Effect-specific parameter block.
void IXAPOParameters::SetParameters([In, Buffer] const void* pParameters,[None] UINT32 ParameterByteSize)
Gets the current values for any effect-specific parameters.
[in, out] Receives an effect-specific parameter block.
void IXAPOParameters::GetParameters([Out, Buffer] void* pParameters,[None] UINT32 ParameterByteSize)
Queries if a specific input format is supported for a given output format.
Output format.
Input format to check for being supported.
If not NULL, and the input format is not supported for the given output format, ppSupportedInputFormat returns a pointer to the closest input format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsInputFormatSupported([None] const WAVEFORMATEX* pOutputFormat,[None] const WAVEFORMATEX* pRequestedInputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedInputFormat)
Queries if a specific output format is supported for a given input format.
[in] Input format.
[in] Output format to check for being supported.
[out] If not NULL and the output format is not supported for the given input format, ppSupportedOutputFormat returns a pointer to the closest output format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsOutputFormatSupported([None] const WAVEFORMATEX* pInputFormat,[None] const WAVEFORMATEX* pRequestedOutputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedOutputFormat)
Performs any effect-specific initialization.
Effect-specific initialization parameters, may be NULL if DataByteSize is 0.
No documentation.
HRESULT IXAPO::Initialize([In, Buffer, Optional] const void* pData,[None] UINT32 DataByteSize)
Resets variables dependent on frame history.
void IXAPO::Reset()
Called by XAudio2 to lock the input and output configurations of an XAPO allowing it to
do any final initialization before {{Process}} is called on the realtime thread.
Array of input structures.pInputLockedParameters may be NULL if InputLockedParameterCount is 0, otherwise itmust have InputLockedParameterCount elements.
Array of output structures.pOutputLockedParameters may be NULL if OutputLockedParameterCount is 0, otherwise itmust have OutputLockedParameterCount elements.
No documentation.
HRESULT IXAPO::LockForProcess([None] UINT32 InputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pInputLockedParameters,[None] UINT32 OutputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pOutputLockedParameters)
Deallocates variables that were allocated with the {{LockForProcess}} method.
void IXAPO::UnlockForProcess()
Runs the XAPO's digital signal processing (DSP) code on the given input and output buffers.
[in] Input array of structures.
[in, out] Output array of structures. On input, the value of .ValidFrameCount indicates the number of frames that the XAPO should write to the output buffer. On output, the value of .ValidFrameCount indicates the actual number of frames written.
TRUE to process normally; FALSE to process thru. See Remarks for additional information.
void IXAPO::Process([None] UINT32 InputProcessParameterCount,[In, Buffer, Optional] const XAPO_PROCESS_BUFFER_PARAMETERS* pInputProcessParameters,[None] UINT32 OutputProcessParameterCount,[InOut, Buffer, Optional] XAPO_PROCESS_BUFFER_PARAMETERS* pOutputProcessParameters,[None] BOOL IsEnabled)
Returns the number of input frames required to generate the given number of output frames.
The number of output frames desired.
No documentation.
UINT32 IXAPO::CalcInputFrames([None] UINT32 OutputFrameCount)
Returns the number of output frames that will be generated from a given number of input frames.
The number of input frames.
No documentation.
UINT32 IXAPO::CalcOutputFrames([None] UINT32 InputFrameCount)
Sets effect-specific parameters.
Effect-specific parameter block.
void IXAPOParameters::SetParameters([In, Buffer] const void* pParameters,[None] UINT32 ParameterByteSize)
Gets the current values for any effect-specific parameters.
[in, out] Receives an effect-specific parameter block.
void IXAPOParameters::GetParameters([Out, Buffer] void* pParameters,[None] UINT32 ParameterByteSize)
Return parameters
Gets the input format locked.
The input format locked.
Gets the output format locked.
The output format locked.
Gets the max frame count locked.
The max frame count locked.
Returns the registration properties of an XAPO.
a structure containing theregistration properties the XAPO was created with; use XAPOFree to free thestructure.
HRESULT IXAPO::GetRegistrationProperties([Out] XAPO_REGISTRATION_PROPERTIES** ppRegistrationProperties)
Internal AudioProcessorShadow
IXAPO GUID
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IXAPO::GetRegistrationProperties([Out] XAPO_REGISTRATION_PROPERTIES** ppRegistrationProperties)
HRESULT IXAPO::IsInputFormatSupported([None] const WAVEFORMATEX* pOutputFormat,[None] const WAVEFORMATEX* pRequestedInputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedInputFormat)
HRESULT IXAPO::IsOutputFormatSupported([None] const WAVEFORMATEX* pInputFormat,[None] const WAVEFORMATEX* pRequestedOutputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedOutputFormat)
HRESULT IXAPO::Initialize([In, Buffer, Optional] const void* pData,[None] UINT32 DataByteSize)
void IXAPO::Reset()
HRESULT IXAPO::LockForProcess([None] UINT32 InputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pInputLockedParameters,[None] UINT32 OutputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pOutputLockedParameters)
Deallocates variables that were allocated with the {{LockForProcess}} method.
void IXAPO::UnlockForProcess()
void IXAPO::Process([None] UINT32 InputProcessParameterCount,[In, Buffer, Optional] const XAPO_PROCESS_BUFFER_PARAMETERS* pInputProcessParameters,[None] UINT32 OutputProcessParameterCount,[InOut, Buffer, Optional] XAPO_PROCESS_BUFFER_PARAMETERS* pOutputProcessParameters,[None] BOOL IsEnabled)
Returns the number of input frames required to generate the given number of output frames.
This pointer
The number of output frames desired.
No documentation.
UINT32 IXAPO::CalcInputFrames([None] UINT32 OutputFrameCount)
Returns the number of output frames that will be generated from a given number of input frames.
This Pointer
The number of input frames.
No documentation.
UINT32 IXAPO::CalcOutputFrames([None] UINT32 InputFrameCount)
Native Accessor to an existing AudioProcessor instance
Process
IXAPO
Queries if a specific input format is supported for a given output format.
Output format.
Input format to check for being supported.
If not NULL, and the input format is not supported for the given output format, ppSupportedInputFormat returns a pointer to the closest input format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsInputFormatSupported([None] const WAVEFORMATEX* pOutputFormat,[None] const WAVEFORMATEX* pRequestedInputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedInputFormat)
Queries if a specific output format is supported for a given input format.
[in] Input format.
[in] Output format to check for being supported.
[out] If not NULL and the output format is not supported for the given input format, ppSupportedOutputFormat returns a pointer to the closest output format that is supported. Use {{XAPOFree}} to free the returned structure.
No documentation.
HRESULT IXAPO::IsOutputFormatSupported([None] const WAVEFORMATEX* pInputFormat,[None] const WAVEFORMATEX* pRequestedOutputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedOutputFormat)
Performs any effect-specific initialization.
Effect-specific initialization parameters, may be NULL if DataByteSize is 0.
No documentation.
HRESULT IXAPO::Initialize([In, Buffer, Optional] const void* pData,[None] UINT32 DataByteSize)
Resets variables dependent on frame history.
void IXAPO::Reset()
Called by XAudio2 to lock the input and output configurations of an XAPO allowing it to
do any final initialization before {{Process}} is called on the realtime thread.
Array of input structures.pInputLockedParameters may be NULL if InputLockedParameterCount is 0, otherwise itmust have InputLockedParameterCount elements.
Array of output structures.pOutputLockedParameters may be NULL if OutputLockedParameterCount is 0, otherwise itmust have OutputLockedParameterCount elements.
No documentation.
HRESULT IXAPO::LockForProcess([None] UINT32 InputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pInputLockedParameters,[None] UINT32 OutputLockedParameterCount,[In, Buffer, Optional] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pOutputLockedParameters)
Deallocates variables that were allocated with the {{LockForProcess}} method.
void IXAPO::UnlockForProcess()
Runs the XAPO's digital signal processing (DSP) code on the given input and output buffers.
[in] Input array of structures.
[in, out] Output array of structures. On input, the value of .ValidFrameCount indicates the number of frames that the XAPO should write to the output buffer. On output, the value of .ValidFrameCount indicates the actual number of frames written.
TRUE to process normally; FALSE to process thru. See Remarks for additional information.
void IXAPO::Process([None] UINT32 InputProcessParameterCount,[In, Buffer, Optional] const XAPO_PROCESS_BUFFER_PARAMETERS* pInputProcessParameters,[None] UINT32 OutputProcessParameterCount,[InOut, Buffer, Optional] XAPO_PROCESS_BUFFER_PARAMETERS* pOutputProcessParameters,[None] BOOL IsEnabled)
Returns the number of input frames required to generate the given number of output frames.
The number of output frames desired.
No documentation.
UINT32 IXAPO::CalcInputFrames([None] UINT32 OutputFrameCount)
Returns the number of output frames that will be generated from a given number of input frames.
The number of input frames.
No documentation.
UINT32 IXAPO::CalcOutputFrames([None] UINT32 InputFrameCount)
Initializes a new instance of the class.
The native pointer.
virtual GetRegistrationProperties( **
Parameters
- ppRegistrationProperties Receives a reference to a structure containing the
registration properties the XAPO was created with; use XAPOFree to free the
structure.
Return ValueReturns if successful; returns an error code otherwise.
Receives a reference to a structure containing theregistration properties the XAPO was created with; use XAPOFree to free thestructure.
Returns if successful; returns an error code otherwise.
HRESULT IXAPO::GetRegistrationProperties([Out] XAPO_REGISTRATION_PROPERTIES** ppRegistrationProperties)
virtual IsInputFormatSupported( const *
Parameters
- pOutputFormatOutput format.
- pRequestedInputFormatInput format to check for being supported.
- ppSupportedInputFormat If not null, and the input format is not supported for the given output format, ppSupportedInputFormat returns a reference to the closest input format that is supported. Use XAPOFree to free the returned structure.
Return ValueReturns if the format pair is supported. Returns XAPO_E_FORMAT_UNSUPPORTED if the format pair is not supported.
Output format.
Input format to check for being supported.
If not null, and the input format is not supported for the given output format, ppSupportedInputFormat returns a reference to the closest input format that is supported. Use XAPOFree to free the returned structure.
Returns if the format pair is supported. Returns XAPO_E_FORMAT_UNSUPPORTED if the format pair is not supported.
HRESULT IXAPO::IsInputFormatSupported([In] const WAVEFORMATEX* pOutputFormat,[In] const WAVEFORMATEX* pRequestedInputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedInputFormat)
virtual IsOutputFormatSupported( const *
Parameters
- pInputFormat[in] Input format.
- pRequestedOutputFormat[in] Output format to check for being supported.
- ppSupportedOutputFormat[out] If not null and the output format is not supported for the given input format, ppSupportedOutputFormat returns a reference to the closest output format that is supported. Use XAPOFree to free the returned structure.
Return Value Returns if the format pair is supported. Returns XAPO_E_FORMAT_UNSUPPORTED if the format pair is not supported.
[in] Input format.
[in] Output format to check for being supported.
[out] If not null and the output format is not supported for the given input format, ppSupportedOutputFormat returns a reference to the closest output format that is supported. Use XAPOFree to free the returned structure.
Returns if the format pair is supported. Returns XAPO_E_FORMAT_UNSUPPORTED if the format pair is not supported.
HRESULT IXAPO::IsOutputFormatSupported([In] const WAVEFORMATEX* pInputFormat,[In] const WAVEFORMATEX* pRequestedOutputFormat,[Out, Optional] WAVEFORMATEX** ppSupportedOutputFormat)
virtual Initialize( const void *
Parameters
- pData Effect-specific initialization parameters, may be null if DataByteSize is 0.
- DataByteSize Size of pData in bytes, may be 0 if pData is null.
Return Value Returns if successful, an error code otherwise.
Effect-specific initialization parameters, may be null if DataByteSize is 0.
Size of pData in bytes, may be 0 if pData is null.
Returns if successful, an error code otherwise.
HRESULT IXAPO::Initialize([In, Buffer, Optional] const void* pData,[In] unsigned int DataByteSize)
virtual void Reset() = 0
Return ValueNone.
void IXAPO::Reset()
Process
No documentation.
No documentation.
No documentation.
No documentation.
Returns if successful, an error code otherwise.
HRESULT IXAPO::LockForProcess([In] unsigned int InputLockedParameterCount,[In, Buffer] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pInputLockedParameters,[In] unsigned int OutputLockedParameterCount,[In, Buffer] const XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS* pOutputLockedParameters)
LockForProcess
void IXAPO::UnlockForProcess()
virtual void Process( UINT32
Parameters
- InputProcessParameterCount[in] Number of elements in pInputProcessParameters. Note XAudio2 currently supports only one input stream and one output stream.
- pInputProcessParameters[in] Input array of structures.
- OutputProcessParameterCount[in] Number of elements in pOutputProcessParameters. Note XAudio2 currently supports only one input stream and one output stream.
- pOutputProcessParameters[in, out] Output array of structures. On input, the value of .ValidFrameCount indicates the number of frames that the XAPO should write to the output buffer. On output, the value of .ValidFrameCount indicates the actual number of frames written.
- IsEnabled TRUE to process normally; to process thru. See Remarks for additional information.
Return ValueNone.
[in] Number of elements in pInputProcessParameters. Note XAudio2 currently supports only one input stream and one output stream.
[in] Input array of structures.
[in] Number of elements in pOutputProcessParameters. Note XAudio2 currently supports only one input stream and one output stream.
[in, out] Output array of structures. On input, the value of .ValidFrameCount indicates the number of frames that the XAPO should write to the output buffer. On output, the value of .ValidFrameCount indicates the actual number of frames written.
to process normally; to process thru. See Remarks for additional information.
void IXAPO::Process([In] unsigned int InputProcessParameterCount,[In, Buffer, Optional] const XAPO_PROCESS_BUFFER_PARAMETERS* pInputProcessParameters,[In] unsigned int OutputProcessParameterCount,[In, Buffer] XAPO_PROCESS_BUFFER_PARAMETERS* pOutputProcessParameters,[In] BOOL IsEnabled)
virtual UINT32 CalcInputFrames( UINT32
Parameters
- OutputFrameCountThe number of output frames desired.
Return ValueReturns the number of input frames required.
The number of output frames desired.
Returns the number of input frames required.
unsigned int IXAPO::CalcInputFrames([In] unsigned int OutputFrameCount)
virtual UINT32 CalcOutputFrames( UINT32
Parameters
- InputFrameCountThe number of input frames.
Return ValueReturns the number of output frames that will be produced.
The number of input frames.
Returns the number of output frames that will be produced.
unsigned int IXAPO::CalcOutputFrames([In] unsigned int InputFrameCount)
Returns the registration properties of an XAPO.
a structure containing theregistration properties the XAPO was created with; use XAPOFree to free thestructure.
HRESULT IXAPO::GetRegistrationProperties([Out] XAPO_REGISTRATION_PROPERTIES** ppRegistrationProperties)
Implements this class to call an existing unmanaged AudioProcessor which supports parameter.
the parameter type of this AudioProcessor
Initializes a new instance of the class.
The base PTR.
Update the Native Poinder. Rebuild ParameterProviderNative.
Get or Set the parameters for this AudioProcessor
Functions
CreateFX( CLSID
Parameters
- clsid ID of the effect to create. Use the __uuidof on the effect class name to get the CLSID for an effect. For example, __uuidof(FXReverb) would provide the CLSID for the FXReverb effect. For a list of effects provided by XAPOFX, see XAPOFX Overview. For an example of retrieving the CLSID for an effect, see How to: Use XAPOFX in XAudio2.
- pEffect Receives a reference to the created XAPO instance. If CreateFX fails, pEffect is untouched.
- pInitData[optional] Effect-specific initialization parameters. This may be null if InitDataByteSize is zero.
- InitDataByteSize[optional] Size of pInitData in bytes. This may be zero if pInitData is null.
Return ValueReturns if successful; otherwise, an error code.
of the effect to create. Use the __uuidof on the effect class name to get the CLSID for an effect. For example, __uuidof(FXReverb) would provide the CLSID for the FXReverb effect. For a list of effects provided by XAPOFX, see XAPOFX Overview. For an example of retrieving the CLSID for an effect, see How to: Use XAPOFX in XAudio2.
Receives a reference to the created XAPO instance. If CreateFX fails, pEffect is untouched.
[optional] Effect-specific initialization parameters. This may be null if InitDataByteSize is zero.
[optional] Size of pInitData in bytes. This may be zero if pInitData is null.
Returns if successful; otherwise, an error code.
HRESULT CreateFX([In] const GUID& clsid,[Out, Fast] IUnknown** pEffect,[In, Buffer, Optional] const void* pInitData,[In] unsigned int InitDataByteSize)
typedef enum
{ ,
} ;
XAPO_BUFFER_FLAGS
No documentation.
XAPO_BUFFER_SILENT
No documentation.
XAPO_BUFFER_VALID
None.
None
No documentation.
XAPO_PROPERTY_TYPE
No documentation.
XAPO_FLAG_CHANNELS_MUST_MATCH
No documentation.
XAPO_FLAG_FRAMERATE_MUST_MATCH
No documentation.
XAPO_FLAG_BITSPERSAMPLE_MUST_MATCH
No documentation.
XAPO_FLAG_BUFFERCOUNT_MUST_MATCH
No documentation.
XAPO_FLAG_INPLACE_REQUIRED
No documentation.
XAPO_FLAG_INPLACE_SUPPORTED
No documentation.
XAPO_FLAG_DEFAULT
No documentation.
FXECHO_INITDATA
No documentation.
float MaxDelay
typedef struct { float WetDryMix; float Feedback; float Delay;
} ;
Members
- WetDryMix Ratio of wet (processed) signal to dry (original) signal.
- Feedback Amount of output to feed back into input.
- Delay Delay to all channels in milliseconds. This value must be between FXECHO_MIN_DELAY and .MaxDelay.
FXECHO_PARAMETERS
Ratio of wet (processed) signal to dry (original) signal.
float WetDryMix
Amount of output to feed back into input.
float Feedback
Delay to all channels in milliseconds. This value must be between FXECHO_MIN_DELAY and .MaxDelay.
float Delay
typedef struct { float FrequencyCenter0; float Gain0; float Bandwidth0; float FrequencyCenter1; float Gain1; float Bandwidth1; float FrequencyCenter2; float Gain2; float Bandwidth2; float FrequencyCenter3; float Gain3; float Bandwidth3;
} ;
Members
- FrequencyCenter0 Center frequency in Hz for band 0. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
- Gain0 The boost or decrease to frequencies in band 0. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
- Bandwidth0 Width of band 0. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
- FrequencyCenter1 Center frequency in Hz for band 1. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
- Gain1 The boost or decrease to frequencies in band 1. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
- Bandwidth1 Width of band 1. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
- FrequencyCenter2 Center frequency in Hz for band 2. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
- Gain2 The boost or decrease to frequencies in band 2. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
- Bandwidth2 Width of band 2. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
- FrequencyCenter3 Center frequency in Hz for band 3. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
- Gain3 The boost or decrease to frequencies in band 3. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
- Bandwidth3 Width of band 3. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
FXEQ_PARAMETERS
Center frequency in Hz for band 0. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
float FrequencyCenter0
The boost or decrease to frequencies in band 0. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
float Gain0
Width of band 0. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
float Bandwidth0
Center frequency in Hz for band 1. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
float FrequencyCenter1
The boost or decrease to frequencies in band 1. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
float Gain1
Width of band 1. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
float Bandwidth1
Center frequency in Hz for band 2. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
float FrequencyCenter2
The boost or decrease to frequencies in band 2. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
float Gain2
Width of band 2. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
float Bandwidth2
Center frequency in Hz for band 3. Must be between FXEQ_MIN_FREQUENCY_CENTER and FXEQ_MAX_FREQUENCY_CENTER.
float FrequencyCenter3
The boost or decrease to frequencies in band 3. Must be between FXEQ_MIN_GAIN and FXEQ_MAX_GAIN
float Gain3
Width of band 3. Must be between FXEQ_MIN_BANDWIDTH and FXEQ_MAX_BANDWIDTH.
float Bandwidth3
typedef struct { UINT32 Release; UINT32 Loudness;
} ;
Members
- Release Speed at which the limiter stops affecting audio once it drops below the limiter's threshold. Value must be between and .
- Loudness Threshold of the limiter. Value must be between and .
FXMASTERINGLIMITER_PARAMETERS
Constant DefaultRelease.
FXMASTERINGLIMITER_DEFAULT_RELEASE
Constant MaximumRelease.
FXMASTERINGLIMITER_MAX_RELEASE
Constant MinimumLoudness.
FXMASTERINGLIMITER_MIN_LOUDNESS
Constant DefaultLoudness.
FXMASTERINGLIMITER_DEFAULT_LOUDNESS
Constant MaximumLoudness.
FXMASTERINGLIMITER_MAX_LOUDNESS
Constant MinimumRelease.
FXMASTERINGLIMITER_MIN_RELEASE
Speed at which the limiter stops affecting audio once it drops below the limiter's threshold. Value must be between and .
unsigned int Release
Threshold of the limiter. Value must be between and .
unsigned int Loudness
typedef struct { float Diffusion; float RoomSize;
} ;
Members
- Diffusion Controls the character of the individual wall reflections. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface.Value must be between FXREVERB_MIN_DIFFUSION and FXREVERB_MAX_DIFFUSION.
- RoomSize Size of the room. Value must be between FXREVERB_MIN_ROOMSIZE and FXREVERB_MAX_ROOMSIZE. Note that physical meaning of RoomSize is subjective and not tied to any particular units. A smaller value will result in reflections reaching the listener more quickly while reflections will take longer with larger values for RoomSize.
FXREVERB_PARAMETERS
Controls the character of the individual wall reflections. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface.Value must be between FXREVERB_MIN_DIFFUSION and FXREVERB_MAX_DIFFUSION.
float Diffusion
Size of the room. Value must be between FXREVERB_MIN_ROOMSIZE and FXREVERB_MAX_ROOMSIZE. Note that physical meaning of RoomSize is subjective and not tied to any particular units. A smaller value will result in reflections reaching the listener more quickly while reflections will take longer with larger values for RoomSize.
float RoomSize
QueryInterface( RFFIID
Parameters
- riid The requested interface ID. For the interface this will be __uuidof(), for the interface this will be __uuidof().
- ppvIf the requested interface is supported
ppv will be set to a reference to the interface and the object's reference count
will be incremented by 1.
Return ValueReturns if the interface is supported; otherwise returns E_NOINTERFACE.
IXAPOParameters
Initializes a new instance of the class.
The native pointer.
virtual void SetParameters( const void *
Parameters
- pParameters Effect-specific parameter block.
- ParameterByteSize Size of pParameters, in bytes.
Return ValueNone.
Effect-specific parameter block.
Size of pParameters, in bytes.
void IXAPOParameters::SetParameters([In, Buffer] const void* pParameters,[In] unsigned int ParameterByteSize)
virtual void GetParameters( void *
Parameters
- pParameters[in, out] Receives an effect-specific parameter block.
- ParameterByteSize[in] Size of pParameters, in bytes.
Return ValueNone.
[in, out] Receives an effect-specific parameter block.
[in] Size of pParameters, in bytes.
void IXAPOParameters::GetParameters([Out, Buffer] void* pParameters,[In] unsigned int ParameterByteSize)
Process
XAPO_PROCESS_BUFFER_PARAMETERS
No documentation.
void* pBuffer
No documentation.
XAPO_BUFFER_FLAGS BufferFlags
No documentation.
unsigned int ValidFrameCount
No documentation.
XAPO_LOCKFORPROCESS_BUFFER_PARAMETERS
No documentation.
const WAVEFORMATEX* pFormat
No documentation.
unsigned int MaxFrameCount
Gets or sets the waveformat.
The format.
IXAPO::GetRegistrationProperties
XAPO_REGISTRATION_PROPERTIES
No documentation.
GUID clsid
No documentation.
wchar_t FriendlyName[256]
No documentation.
wchar_t CopyrightInfo[256]
No documentation.
unsigned int MajorVersion
No documentation.
unsigned int MinorVersion
No documentation.
XAPO_PROPERTY_TYPE Flags
No documentation.
unsigned int MinInputBufferCount
No documentation.
unsigned int MaxInputBufferCount
No documentation.
unsigned int MinOutputBufferCount
No documentation.
unsigned int MaxOutputBufferCount
Internal AudioProcessorShadow
IXAPOParameters
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
Sets effect-specific parameters.
This pointer
Effect-specific parameter block.
size of the parameters
void IXAPOParameters::SetParameters([In, Buffer] const void* pParameters,[None] UINT32 ParameterByteSize)
Gets the current values for any effect-specific parameters.
This pointer
[in, out] Receives an effect-specific parameter block.
size of the parameters
void IXAPOParameters::GetParameters([Out, Buffer] void* pParameters,[None] UINT32 ParameterByteSize)
An Echo XAPO AudioProcessor
Initializes a new instance of the class.
A Equalizer XAPO AudioProcessor
Initializes a new instance of the class.
A MateringLimiter XAPO AudioProcessor
Initializes a new instance of the class.
A Reverb XAPO AudioProcessor
Initializes a new instance of the class.