- 博客(0)
- 资源 (3)
- 收藏
- 关注
获取wav文件头信息
获取wav文件头,44字节。。_header.RIFF_ID = System.BitConverter.ToInt32(header_data, 0);
_header.File_Size = System.BitConverter.ToInt32(header_data, 4);
_header.RIFF_Type = System.BitConverter.ToInt32(header_data, 8);
_header.FMT_ID = System.BitConverter.ToInt32(header_data, 12);
_header.FMT_Size = System.BitConverter.ToInt32(header_data, 16);
_header.FMT_Tag = System.BitConverter.ToInt16(header_data, 20);
_header.FMT_Channel = System.BitConverter.ToUInt16(header_data, 22);
_header.FMT_SamplesPerSec = System.BitConverter.ToInt32(header_data, 24);
_header.AvgBytesPerSec = System.BitConverter.ToInt32(header_data, 28);
_header.BlockAlign = System.BitConverter.ToUInt16(header_data, 32);
_header.BitsPerSample = System.BitConverter.ToUInt16(header_data, 34);
_header.DATA_ID = System.BitConverter.ToInt32(header_data, 36);
_header.DATA_Size = System.BitConverter.ToInt32(header_data, 40);
2019-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人