Skip to content

Commit

Permalink
Issue #127: fixed incorrect handling of byte values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Willem Janssen committed Dec 11, 2012
1 parent 95fc6d7 commit bc11afa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -467,7 +467,7 @@ private int[] readSamples( final int aEnabledGroupCount, int aSampleCount ) thro
{ {
if ( this.config.isGroupEnabled( g ) ) if ( this.config.isGroupEnabled( g ) )
{ {
samples[i] |= ( rawData[j++] << ( 8 * g ) ); samples[i] |= ( ( rawData[j++] & 0xff ) << ( 8 * g ) );
} }
} }
} }
Expand Down

0 comments on commit bc11afa

Please sign in to comment.