"Failed to open sound channels" crash

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: "Failed to open sound channels" crash
Apprentice
Member # 6559
Profile #0
When I open any of the three Geneforges, The game immediately quits with a "failed to open sound channels" error message. This did not happen in the past. Reinstalling doesn't work.
I think something is corrupted in my OS X sound library (or whatever handles sound in OS X), and I realize Geneforge's crashing may not be the cause, and only an annoying side-effect.

However, if someone could tell me what library (or other) Geneforge uses to handle sound, so I would know what to fix/reinstall, I would really appreciate it :)
Posts: 27 | Registered: Thursday, December 15 2005 08:00
Board Administrator
Member # 1
Profile Homepage #1
Hmm .. this is from the Avernum 4 support page, but it might be a general issue. Try this ...

MPlayer Incompatability

It has been reported that installing MPlayer can interfere with Avernum 4's ability to run. The program will return the error "Unable to open sound channels" and quit.

Going into the "Audio MIDI Setup" and set the Audio Output
format to 44100.0 Hz should fix the problem.

(We only use plain, vanilla Mac system calls for sound, which makes these problems frustrating.)

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
Apprentice
Member # 6559
Profile #2
I haven't installed MPlayer, but what you say makes it plain that Geneforge is not responsible for the problem.
Thanks for the help!

EDIT: sorry, I misunderstood your post.
I thought "Audio MIDI Setup" was some MPlayer preference panel. I've just realized it's actually a Mac OS X utility. Setting the output rate to 44 MHz did fix the problem.
Thank you so much :)

[ Wednesday, March 29, 2006 19:03: Message edited by: Silb Aran ]
Posts: 27 | Registered: Thursday, December 15 2005 08:00
Board Administrator
Member # 1
Profile Homepage #3
Thank you VERY much for this information. The MPlayer thing was my mistake. I will fix the support info and spread it to the other support pages for our games.

- Jeff Vogel

Later edit ... this is the new support page message:

"Unable to open sound channels" Error

If you get the error "Unable to open sound channels" when you launch the game, carry out these steps to fix the problem:

i. Open the Applications folder.
ii. Open the Utilities folder.
iii. In this folder, run "Audio MIDI Setup"
iv. Under Audio Output, change the Format to 44100.0 Hz.

This should correct the problem.

###

Now I have to dig into the code and try to figure out a gentler way around this problem.

[ Thursday, March 30, 2006 12:05: Message edited by: Spidweb ]

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
Agent
Member # 6581
Profile Homepage #4
You have helped Jeff Vogel. Whoa! You need a four-star rating for this. :D

Hey, 250 posts! Adept! Yeehaw!

--------------------
Download Geneforge 4: Rebellion

You have 6 posts. Nobody cares what you think. - Thuryl

Wikipedia may be your friend, but UBB is not. - Dikiyoba
Posts: 1310 | Registered: Tuesday, December 20 2005 08:00