Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
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  
  MacOSX just makes noise  (Read 1983 times)
0 Members and 1 Guest are viewing this topic.
Offline atze

Senior Newbie

It's just me.

« Posted 2004-08-24 17:34:46 »

hi there,

i tried and 2.
joal just makes noises. it sounds a bit like the file i try to play but it's mainly noise.

OpenAL.framework version 1.0.12 -- posted April 21, 2004
joal todays download (binary dist)
mac os x 10.3.5

do i need to change the lessons for macosx?
Offline swpalmer

JGO Coder

Exp: 12 years

Where's the Kaboom?

« Reply #1 - Posted 2004-08-25 15:03:52 »

Sounds like a endian issue?

Offline atze

Senior Newbie

It's just me.

« Reply #2 - Posted 2004-08-26 09:54:03 »

i uses my 'new mail'-sound. it works in so i thought it should work in joal as well. (and i tried the Footsteps.wav from the example)

does wav have any endiness at all?

could anyone point me to a soundfile that works on mac os?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder

Exp: 12 years

Where's the Kaboom?

« Reply #3 - Posted 2004-08-29 23:57:21 »

does wav have any endiness at all?

Of course it does, if you are using the typical 16-bit samples then it must have a particular byte order.  And being a format popular on Intel platforms I would have to guess that it uses the little endian format required by the ancient 4 to 8-bit calculator chips that all intel chips from that point on have are based on Tongue.  All the reasonable processors in the world today use big endian because it just makes more sense Tongue.  So on Mac with the PowerPC you have big endian values typically. Thus I suspect that the audio APIs on Mac might work natively with big endian waveforms.

Offline d3

Senior Newbie


« Reply #4 - Posted 2004-09-15 06:50:38 »

with some soundplayer, for example quicktime, you can get information about the sound s 'endian-ness'.

if you use 8bit sound Sad you don t have any endian issues.

still i would also be interested in solving this problem. the 'wav' format, as far as i know, always 'little endian' thus wouldn t play correctly on 'big endian' machines. i m not enough into 'OpenAL' but is there any easy way to load for example 'AIFF' files which is a 'big endian' format with something similar to 'alutLoadWAVFile'? is the a tutorial for that?
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

SHC (37 views)
2015-08-01 03:58:20

Jesse (24 views)
2015-07-29 04:35:27

Riven (44 views)
2015-07-27 16:38:00

Riven (24 views)
2015-07-27 15:35:20

Riven (27 views)
2015-07-27 12:26:13

Riven (18 views)
2015-07-27 12:23:39

BurntPizza (40 views)
2015-07-25 00:14:37

BurntPizza (48 views)
2015-07-24 22:06:39

BurntPizza (33 views)
2015-07-24 06:06:53

NoxInc (40 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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!