LWJGL
May 20, 2012, 23:41:46 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Some problems around OggInputStream  (Read 2906 times)
fazekaim
Newbie
*
Posts: 15


« on: July 28, 2006, 07:12:20 »

Hello,

I have some problems using OggInputStream.
In general it is working very well, but there are some ogg files that can't extract. (I made it with the latest OggdropXP. Quality settings for approx 256Kbit)

The jorbis sample player playes it, the bsplayer plays it, the jlgui plays it, but the OggInputStream sample main method ends in neverending loop.

members.chello.hu/racz.arpad/meadowland_neutral_settlement_small.ogg

Has anybody met the problem before?

Thanks.
Logged
tomb
Talks Too Much
***
Posts: 147


« Reply #1 on: July 29, 2006, 17:32:19 »

Found a bug and I've uploaded a fix on http://home.halden.net/tombr/ogg/ogg.html.

It plays your file now. I only hope it will not create bugs on other files.

The OggInputStream is a rewrite of the com.jcraft.jorbis.DecodeExample class, that is included with the jorbis download. I have no understanding of how the jorbis decoder works. I only changed it so that the data can be pulled out instead of pushed. It's a bit tricky to change the logic.
Logged
fazekaim
Newbie
*
Posts: 15


« Reply #2 on: July 29, 2006, 22:40:31 »

It works, thanks a lot!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!