AudaciousTunes/Audacious/Wav.cs
/// <summary>
/// Returns a new wave object with only a range of the data in it.
/// </summary>
/// <param name="index">The index where the samples begin.</param>
/// <param name="count">The amount of samples to get.</param>
Returns a new wave object with only a range of the data in it.
Returns a new wave object with only a range of the data in it .
public Wav GetRange(int index, int count)
        {
            Wav newWav = new Wav(
                _leftChannel.GetRange(index, count),
                _rightChannel.GetRange(index, count));
            return newWav;
        }
public Wav GetRange ( int index , int count ) { Wav newWav = new Wav ( _leftChannel . GetRange ( index , count ) , _rightChannel . GetRange ( index , count ) ) ; return newWav ; }
Returns a new wave object with only a range of the data in it.
Returns a new wave object with only a range of the data in it .
index
int
The index where the samples begin.
The index where the samples begin .
count
int
The amount of samples to get.
The amount of samples to get .