Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  jorbis ogg decoding performance?  (Read 3926 times)
0 Members and 1 Guest are viewing this topic.
Offline Aramaz

Junior Devvie

Java Games Rock!

« Posted 2005-09-07 08:23:50 »

I am making a fast paced multiplayer space shooter... A friend is going to compose some music, and from browsing around the forum abit ogg seems to be the format of choice.

My friend is concerned that it might steal to much cpu cycles to decode ogg so that midi might be to prefer. Are there any performance issues using jorbis to decode on a really fast paced action game (2d graphics - using lwjgl for rendering). (most people with up to date graphics cards get 200 fps in the game now... so it runs really smooth... don't want to lose any smoothness...  :-) ).

If there is (noting that Jorbis is pure java) is there some other alternative for decoding... such as something calling native code?

Also any gc interrupts would be unacceptable.

thanx for your time...

Play XSW:
Offline Riven

« JGO Overlord »

Medals: 1340
Projects: 4
Exp: 16 years

Hand over your head.

« Reply #1 - Posted 2005-09-07 13:37:17 »

"I came, profiled and conquered."

Basicly: everything your're going to add to the game will reduce performance.

The question is: is it significant?
The answer is: profile it.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline tom
« Reply #2 - Posted 2005-09-07 13:46:18 »

In Undead Arena, a lwjgl game, the fps drops from 110 to 105 when streaming a ogg in the background. This is on a AMD 1800. No garbage is created.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Aramaz

Junior Devvie

Java Games Rock!

« Reply #3 - Posted 2005-09-07 16:40:54 »

tom.. ok, that sounds good.

Riven... just wanted a quick answer so I could pass it on to my friend so he can start with the music. But of course I should but in some song in the game and try it out. I'll do that now... but if it didn't make that much difference on Undead Arena I'm sure it will be fine in my game too...

Play XSW:
Pages: [1]
  ignore  |  Print  

EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!