[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xaudio-sdk
Subject:    [xaudio-sdk] ogg vorbis?
From:       "Tom Shepherd" <autodj () airmail ! net>
Date:       2002-05-07 2:41:12
[Download RAW message or body]

Maybe a silly question...but can xaudio play ogg vorbis files?

Thanks,
Tom
-----Original Message-----
From: Gilles Boccon-Gibod <bok@bok.net>
To: Ian Collinson <icollinson@imerge.co.uk>
Cc: xaudio-sdk@mpegtv.com <xaudio-sdk@mpegtv.com>
Date: Wednesday, November 21, 2001 2:52 AM
Subject: Re: [xaudio-sdk] ID3v2


>Version 3.0.8 is not ID3v2 aware (3.1.x and 3.2.x is). So when you open
>the file, there is no MP3 frame header found, and the duration cannot be
>computed (bitrate, etc...). However, once you start decoding, or
>playing, the decoder will find valid frames (it will skip over the ID3v2
>header as if it were garbage), and will report the duration on the first
>valid frame found.
>You should really upgrade to a more recent version of the SDK...
>
>-- Gilles
>
>On Tue, 2001-11-20 at 03:20, Ian Collinson wrote:
>>
>> Hi,
>>
>> XAudio 3.0.8, on Linux, doesn't seem happy with mp3 files that have
>> a prepended ID3v2.3.0 tag.  The file plays OK, but the decoder reports
that
>> the file's duration is 0.  If I chop off the ID3 tag, then all is fine.
>>
>> I read the duration as follows (SYNC API):
>>
>> duration_ms = decoder.info->status->info.duration;
>>
>> Where "decoder" is the XA_Decoder object.
>>
>> The header looks like this, and seems valid (output from emacs
>> hexl-mode).  Full MP3 file can be sent if required
>>
>>
>> 00000000: 4944 3303 0000 0000 007c 5449 5432 0000  ID3......|TIT2..
>> 00000010: 0015 0000 0049 2044 6f6e 2774 2057 616e  .....I Don't Wan
>> 00000020: 7420 546f 204b 6e6f 7754 5243 4b00 0000  t To KnowTRCK...
>> 00000030: 0200 0000 3254 5045 3100 0000 0e00 0000  ....2TPE1.......
>> 00000040: 476c 6164 7973 204b 6e69 6768 7454 414c  Gladys KnightTAL
>> 00000050: 4200 0000 0d00 0000 4a75 7374 2046 6f72  B.......Just For
>> 00000060: 2059 6f75 5443 4f4e 0000 0007 0000 004d   YouTCON.......M
>> 00000070: 6f74 6f77 6e54 4c45 4e00 0000 0700 0000  otownTLEN.......
>> 00000080: 3334 3832 3930 fffb a040 0000 0180 004b  348290...@.....K
>> 00000090: 8000 0008 0000 0970 0000 0100 0001 2e00  .......p........
>> 000000a0: 0000 2000 0025 c000 0004 ffff ffff ffff  .. ..%..........
>> 000000b0: ffff ffff ffff ffff ffff ffff ffff ffff  ................
>> 000000c0: ffff ffff ffff ffff ffff ffff ffff ffff  ................
>>
>> Is this a bug?  Is it fixed in a later version?
>>
>> Note - obviously I'd look at the XAudio website before posting, but
>> it's down, under construction.
>>
>> Cheers
>> Ian
>>
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Imerge Limited                          Tel :- +44 (0)1954 783600
>> Unit 6 Bar Hill Business Park           Fax :- +44 (0)1954 783601
>> Saxon Way                               Web :- http://www.imerge.co.uk
>> Bar Hill
>> Cambridge
>> CB3 8SL
>> United Kingdom
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>> _______________________________________________
>> xaudio-sdk mailing list
>> xaudio-sdk@mpegtv.com
>> http://mailman.bok.net/mailman/listinfo/xaudio-sdk
>
>
>_______________________________________________
>xaudio-sdk mailing list
>xaudio-sdk@mpegtv.com
>http://mailman.bok.net/mailman/listinfo/xaudio-sdk

_______________________________________________
xaudio-sdk mailing list
xaudio-sdk@mpegtv.com
http://mailman.bok.net/mailman/listinfo/xaudio-sdk
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic