Media Player SDK
ContentsIndexHome
PreviousUpNext
TVFMediaPlayer.Audio_Effects_Compressor Method

Sets the parameters for the compressor effect.

Pascal
procedure Audio_Effects_Compressor(Stream: Integer; ID: Integer; AttackTime: Double; DecayTime: Double; GainDB: Double; Ratio: Double; Threshold: Double);
C++
__fastcall Audio_Effects_Compressor(int Stream, int ID, Double AttackTime, Double DecayTime, Double GainDB, Double Ratio, Double Threshold);
C#
public Audio_Effects_Compressor(int Stream, int ID, Double AttackTime, Double DecayTime, Double GainDB, Double Ratio, Double Threshold);
Visual Basic
Public Sub Audio_Effects_Compressor(Stream As Integer, ID As Integer, AttackTime As Double, DecayTime As Double, GainDB As Double, Ratio As Double, Threshold As Double)
Java
public Audio_Effects_Compressor(int Stream, int ID, Double AttackTime, Double DecayTime, Double GainDB, Double Ratio, Double Threshold);
IDL
Audio_Effects_Compressor(int Stream, int ID, Double AttackTime, Double DecayTime, Double GainDB, Double Ratio, Double Threshold);
JavaScript
Audio_Effects_Compressor
Parameters 
Description 
Stream: Integer 
Stream ID. 
ID: Integer 
Effect ID. 
AttackTime: Double 
Specifies the attack time in milliseconds. 
DecayTime: Double 
Specifies the release time in milliseconds. 
GainDB: Double 
Specifies the maximum amplification in db. 
Ratio: Double 
Specifies the amplification ratio. 
Threshold: Double 
Specifies the threshold in db. 
Copyright (c) 2013. All rights reserved.
What do you think about this topic? Send feedback!