Class StereoBalanceStrategy
- Namespace
- NAudio.Wave.SampleProviders
- Assembly
- NAudio.Core.dll
Simplistic "balance" control - treating the mono input as if it was stereo In the centre, both channels full volume. Opposite channel decays linearly as balance is turned to to one side
public class StereoBalanceStrategy : IPanStrategy
- Inheritance
-
StereoBalanceStrategy
- Implements
- Inherited Members
Methods
GetMultipliers(float)
Gets the left and right channel multipliers for this pan value
public StereoSamplePair GetMultipliers(float pan)
Parameters
panfloatPan value, between -1 and 1
Returns
- StereoSamplePair
Left and right multipliers