class MultiChannelBuffer

in global :: Sandbox . Audio

Holds up to 8 mix buffers, which usually represent output speakers.


public int ChannelCount { get; }

How many channels do we have

public MixBuffer Get( AudioChannel i )

Get MixBuffer number i

public MixBuffer Get( int i )

Get MixBuffer number i

public void CopyFrom( MultiChannelBuffer other )

Set this buffer to this value

public void CopyFromUpmix( MultiChannelBuffer other )

Copies from one buffer to the other. If the other has less channels, we'll upmix

public void MixFrom( MultiChannelBuffer samples, float mix )

Mix the target buffer into this buffer

public void Scale( float volume )

Scale volume of this buffer

public void Dispose( )

😔 No documentation found.

public void Silence( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public MultiChannelBuffer( int channelCount = 8 )

😔 No documentation found.