javazoom.jl.decoder.LayerIDecoder.SubbandLayer1.read_sampledata C# (CSharp) Method

read_sampledata() public method

*
public read_sampledata ( Bitstream stream ) : bool
stream Bitstream
return bool
            public override bool read_sampledata(Bitstream stream)
            {
                if (allocation != 0)
                {
                    sample = (float) (stream.get_bits(samplelength));
                }
                if (++samplenumber == 12)
                {
                    samplenumber = 0;
                    return true;
                }
                return false;
            }