8.6.5 SCI_DECODE_TIME (RW)
When decoding correct data, current decoded time is shown in this register in full seconds.
The user may change the value of this register. In that case the new value should be written
twice.
SCI_DECODE_TIME is reset at every software reset and also when WAV (PCM or IMA ADPCM), WMA, or MIDI decoding starts or ends.
我怀疑,是不是改下这个寄存器就可以了啊??
简单一点哈,不管是CBR还是VBR,算出个平均码流,然后按时间算出文件偏移,然后读数据丢给1003就行了
可以看这个文档
When decoding correct data, current decoded time is shown in this register in full seconds.
The user may change the value of this register. In that case the new value should be written
twice.
SCI_DECODE_TIME is reset at every software reset and also when WAV (PCM or IMA ADPCM), WMA, or MIDI decoding starts or ends.
我怀疑,是不是改下这个寄存器就可以了啊??
貌似还是只能按照5楼的说法来。VS1003只是一个解码器,他需要单片机不停的送数据才行,单片机送啥数据他就放啥声音。然后想要快进还好说,否则遇到可变码率的MP3,任意时间基本没辙,只能大致定位
一周热门 更多>