Game Development Community

Torque 2D 1.7.6 - Ogg audio distortion

by Justin Allen · in Torque Game Builder · 01/17/2012 (2:07 pm) · 4 replies

Build: 1.7.6

Platform: OS X 10.7.2

Target: App

Issues:

When playing an ogg file, the following things happen:
1.) The sound pops.
2.) The ogg file itself produces no sound.
3.) Any audio played on the machine, not just in the app, is heavily distorted.
4.) When the ogg ends, the sound pops again.
5.) The audio on the machine is no longer distorted.

It plays fine in a 1.7.5 build of TGBGame.

#1
01/18/2012 (4:46 pm)
I know the included Vorbis (I guess you mean Vorbis, right? Ogg is the container library) doesn't compile quite right with any of the LLVM compilers. Did you actually have it working in 1.7.5 with LLVM-GCC or LLVM 2.x/3.x? If you have the last old Xcode version with a plain GCC (non-LLVM) you can try that for comparison.
#2
01/18/2012 (5:29 pm)
I didn't compile anything with LLVM until Xcode 4. And I don't have an Xcode 3 anywhere or a machine not on 10.7.2. And, as far as I know, you can't do just plain GCC out of XCode now. But if ogg vorbis isn't going to work on OS X, that pretty much screws you for doing music.

#3
01/18/2012 (10:02 pm)
Yeah, it depends on the version included with TGB. If you had it working with an LLVM compiler, something else is the matter here.
#4
02/05/2012 (11:47 am)
So, was there ever going to be some kind of solution to this?