Felipevr,

I use .ogg files in the sighted dclient, and in order to get cross
platform compatibility I just grabbed the fixed point ogg tremor
decoder and compiled it directly into the executable.  That way you
don't have to drag around some stupid decoder library, and you're
guaranteed that the code will always just be there and will always
just work.  The builds work on mac/linux/windows so far without any
trouble, and the compiled decoder only adds about 10kb to the total
executable size.

The only thing you'll have to be aware of is that the last block of
the decode comes out with a screwy length and occasionally the last
couple of samples have noise glitches, so you'll probably want to do a
volume taper to zero in the last four millisecond chunk on playout.

You can find the page on the tremor decoder at http://wiki.xiph.org/Tremor.

Good luck!

Dennis Towne

Alter Aeon MUD
http://www.alteraeon.com

On Mon, Feb 4, 2013 at 9:51 AM, Felipevr <fvrlis...@gmail.com> wrote:
> Unfortunatly,if I use lame, I'll lost the portability, if I'm not
> mistaken,lame just works in windows, isn't it?
> -----Mensagem original-----
> De: shaun everiss <sm.ever...@gmail.com>
> Para: Gamers Discussion list <gamers@audyssey.org>
> Data: Segunda, 04 de Fevereiro de 2013 13:42
> Assunto: Re: [Audyssey] help with tritonus library
>
> winlame is a decoder and encoder of files.
> I use it to convert oggs to wave mp3 oggs or wma.
> it uses the lame  library.
> However its probably not what you want.
>
> At 11:32 AM 2/4/2013, you wrote:
>>I'm trying to decode ogg files to add them in my audiogame project,
>>instead of wav sound files.
>>
>>winalme?
>>this is another ibrary? where can I get it?
>>
>>thank you!
>>
>>
>>
>>-----Mensagem original-----
>>De: shaun everiss <sm.ever...@gmail.com>
>>Para: Gamers Discussion list <gamers@audyssey.org>
>>Data: Segunda, 04 de Fevereiro de 2013 11:09
>>Assunto: Re: [Audyssey] help with tritonus library
>>
>>Are you trying to decode the ogg files so your game can play them or
>>do you want to just play wav files.
>>use winalme and you can make your ogg files to whatever format you
>>want wav, mp3, etc.
>>if the other well I don't know.
>>
>>At 10:22 AM 2/4/2013, you wrote:
>> >Hello all,
>> >
>> >I'm trying to use tritonus library to decode ogg files to use in my
>> >audiogame projects, but I had find some problems:
>> >
>> >I search the tritonus javadoc but it isn't so clear.
>> >
>> >Can someone give me an example of how can I decode? I had the two
>> >necessary files, but I can't find the properly methods and how to use.
>> >
>> >Thank you very much!
>> >Felipe
>> >
>> >---
>> >Gamers mailing list __ Gamers@audyssey.org
>> >If you want to leave the list, send E-mail to
>> gamers-unsubscr...@audyssey.org.
>> >You can make changes or update your subscription via the web, at
>> >http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>> >All messages are archived and can be searched and read at
>> >http://www.mail-archive.com/gamers@audyssey.org.
>> >If you have any questions or concerns regarding the management of the list,
>> >please send E-mail to gamers-ow...@audyssey.org.
>>
>>
>>
>>---
>>Gamers mailing list __ Gamers@audyssey.org
>>If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
>>You can make changes or update your subscription via the web, at
>>http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>>All messages are archived and can be searched and read at
>>http://www.mail-archive.com/gamers@audyssey.org.
>>If you have any questions or concerns regarding the management of the list,
>>please send E-mail to gamers-ow...@audyssey.org.
>>
>>---
>>Gamers mailing list __ Gamers@audyssey.org
>>If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
>>You can make changes or update your subscription via the web, at
>>http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>>All messages are archived and can be searched and read at
>>http://www.mail-archive.com/gamers@audyssey.org.
>>If you have any questions or concerns regarding the management of the list,
>>please send E-mail to gamers-ow...@audyssey.org.
>
>
>
> ---
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
> You can make changes or update your subscription via the web, at
> http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/gamers@audyssey.org.
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.
>
> ---
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
> You can make changes or update your subscription via the web, at
> http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/gamers@audyssey.org.
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to