Could you explain more detail about your idea?since I have question about how 
to decode wma file.the container used for wma file  is ASF, how to demux asf in 
Rockbox?the data that read by asf_read_packet (to read an ASF packet) can be 
put into decode ,right?that does not include container data?Could you kindly 
give the hints?


You can demux an ASF packet by calling asf_read_packet, which will give you 
(IIRC) enough compressed data to decode at least one superframe.
If you haven't already, take a look at wma.c.  I didn't write most of that 
code, but the logic looks fairly clear (call asf_read_packet, pass data to the 
decoder, repeat until out of data).  
Mike                                      

Reply via email to