Update mcs/class/System/System.Media/AudioData.cs #525

Merged
merged 1 commit into from Dec 21, 2012

Projects

None yet

2 participants

@Arakis
Arakis commented Dec 21, 2012

Since this line is commented out:
int block_align = buffer [idx++] | (buffer [idx++] << 8);
you will ran into a "bits per sample" exception.
Adding the two increpements (idx+=2) will solve it.

Sebastian Loncar Update mcs/class/System/System.Media/AudioData.cs
Since this line is commented out:
int block_align = buffer [idx++] | (buffer [idx++] << 8);
you will ran into a "bits per sample" exception.
Adding the two increpements (idx+=2) will solve it.
146be1e
@marek-safar marek-safar merged commit dbb9f0f into mono:master Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment