Example #1
0
        private Mp3Frame ParseFrame()
        {
            Mp3FrameHeader header = ParseHeader();

            Mp3FrameData data = null;

            if (header.Valid)
            {
                data = ParseData(header);
            }
            else
            {
                return(null);
            }

            return(new Mp3Frame(header, data));
        }
Example #2
0
 public Mp3Frame(Mp3FrameHeader header, Mp3FrameData data)
 {
     this.header = header;
     this.data   = data;
 }