|
|
@ -198,7 +198,7 @@ public:
|
|
|
|
* Generate an I3DL2 reverb effect command.
|
|
|
|
* Generate an I3DL2 reverb effect command.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - I3DL2Reverb effect info.
|
|
|
|
* @param effect_info - I3DL2Reverb effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GenerateI3dl2ReverbEffectCommand(s16 buffer_offset, EffectInfoBase& effect_info,
|
|
|
|
void GenerateI3dl2ReverbEffectCommand(s16 buffer_offset, EffectInfoBase& effect_info,
|
|
|
@ -208,7 +208,7 @@ public:
|
|
|
|
* Generate an aux effect command.
|
|
|
|
* Generate an aux effect command.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - Aux effect info.
|
|
|
|
* @param effect_info - Aux effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GenerateAuxCommand(s16 buffer_offset, EffectInfoBase& effect_info, s32 node_id);
|
|
|
|
void GenerateAuxCommand(s16 buffer_offset, EffectInfoBase& effect_info, s32 node_id);
|
|
|
@ -217,7 +217,7 @@ public:
|
|
|
|
* Generate a biquad filter effect command.
|
|
|
|
* Generate a biquad filter effect command.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - Aux effect info.
|
|
|
|
* @param effect_info - Aux effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GenerateBiquadFilterEffectCommand(s16 buffer_offset, EffectInfoBase& effect_info,
|
|
|
|
void GenerateBiquadFilterEffectCommand(s16 buffer_offset, EffectInfoBase& effect_info,
|
|
|
@ -227,7 +227,7 @@ public:
|
|
|
|
* Generate a light limiter effect command.
|
|
|
|
* Generate a light limiter effect command.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - Limiter effect info.
|
|
|
|
* @param effect_info - Limiter effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param effect_index - Index for the statistics state.
|
|
|
|
* @param effect_index - Index for the statistics state.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -239,7 +239,7 @@ public:
|
|
|
|
* Writes a mix buffer back to game memory.
|
|
|
|
* Writes a mix buffer back to game memory.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - Capture effect info.
|
|
|
|
* @param effect_info - Capture effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GenerateCaptureCommand(s16 buffer_offset, EffectInfoBase& effect_info, s32 node_id);
|
|
|
|
void GenerateCaptureCommand(s16 buffer_offset, EffectInfoBase& effect_info, s32 node_id);
|
|
|
@ -248,11 +248,10 @@ public:
|
|
|
|
* Generate a compressor effect command.
|
|
|
|
* Generate a compressor effect command.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param effect_info_base - Compressor effect info.
|
|
|
|
* @param effect_info - Compressor effect info.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
* @param node_id - Node id of the mix this command is generated for.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GenerateCompressorCommand(const s16 buffer_offset, EffectInfoBase& effect_info,
|
|
|
|
void GenerateCompressorCommand(s16 buffer_offset, EffectInfoBase& effect_info, s32 node_id);
|
|
|
|
const s32 node_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Generate all effect commands for a mix.
|
|
|
|
* Generate all effect commands for a mix.
|
|
|
@ -318,8 +317,9 @@ public:
|
|
|
|
* Generate a performance command.
|
|
|
|
* Generate a performance command.
|
|
|
|
* Used to report performance metrics of the AudioRenderer back to the game.
|
|
|
|
* Used to report performance metrics of the AudioRenderer back to the game.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param buffer_offset - Base mix buffer offset to use.
|
|
|
|
* @param node_id - Node ID of the mix this command is generated for
|
|
|
|
* @param sink_info - Sink info to generate the commands from.
|
|
|
|
* @param state - Output state of the generated performance command
|
|
|
|
|
|
|
|
* @param entry_addresses - Addresses to be written
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void GeneratePerformanceCommand(s32 node_id, PerformanceState state,
|
|
|
|
void GeneratePerformanceCommand(s32 node_id, PerformanceState state,
|
|
|
|
const PerformanceEntryAddresses& entry_addresses);
|
|
|
|
const PerformanceEntryAddresses& entry_addresses);
|
|
|
|