S
steven robinson
Here's a snipet of code I wrote that allows overall gain control of a
stereo or mono channel:
private void getGain()
{
gain = player.getGainControl();//get gain controls
float level = gain.getLevel();//get present gain level
System.out.println("Present gain = "+level);
}
private void setGain(float level)
{
........
}
however, what I would now like to do is control each channel's gain
independently. Does anyone out there, know how to do this, any help or
pointers in the write direction would be appreciated, thanks in
advance.
Steve
stereo or mono channel:
private void getGain()
{
gain = player.getGainControl();//get gain controls
float level = gain.getLevel();//get present gain level
System.out.println("Present gain = "+level);
}
private void setGain(float level)
{
........
}
however, what I would now like to do is control each channel's gain
independently. Does anyone out there, know how to do this, any help or
pointers in the write direction would be appreciated, thanks in
advance.
Steve