how can I control gain of independent channels in jmf

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top