Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old June 12, 2011, 14:34   #1
CJNyfalt
Swordsman
 
Join Date: May 2007
Posts: 289
CJNyfalt is on a distinguished road
Sound issue

For some reason sound does not work and gives the following error under Ubuntu 11.04:
./angband: Couldn't open mixer: No available audio device
./angband: Failed to load sound config

Obviously sound does work in other programs, even SDL ones.

Have anyone else problems?
Could it be a problem of conflicting SDL versions?
CJNyfalt is offline   Reply With Quote
Old June 12, 2011, 15:04   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,054
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by CJNyfalt View Post
For some reason sound does not work and gives the following error under Ubuntu 11.04:
./angband: Couldn't open mixer: No available audio device
./angband: Failed to load sound config

Obviously sound does work in other programs, even SDL ones.

Have anyone else problems?
Could it be a problem of conflicting SDL versions?
Which version? If you are playing a dev version more recent than 3.2.0, sound is off by default and needs to enabled in the game options. If this is happening in 3.2.0 then I'm not sure what is going on, as I can't reproduce that problem.
Magnate is offline   Reply With Quote
Old June 12, 2011, 15:06   #3
CJNyfalt
Swordsman
 
Join Date: May 2007
Posts: 289
CJNyfalt is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Which version? If you are playing a dev version more recent than 3.2.0, sound is off by default and needs to enabled in the game options. If this is happening in 3.2.0 then I'm not sure what is going on, as I can't reproduce that problem.
It is 3.2.0.

EDIT: Also another bug.

I usually inscribe my spellbooks, but I haven't done so yet.
Now, when I did try to cast a spell using the 'm1' key sequence instead of 'ma', the game crashes with:
./angband: software bug
Adding the relevant inscription allows me to use 'm1' without crashing.
CJNyfalt is offline   Reply With Quote
Old June 12, 2011, 15:15   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,054
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by CJNyfalt View Post
It is 3.2.0.

EDIT: Also another bug.

I usually inscribe my spellbooks, but I haven't done so yet.
Now, when I did try to cast a spell using the 'm1' key sequence instead of 'ma', the game crashes with:
./angband: software bug
Adding the relevant inscription allows me to use 'm1' without crashing.
An awful lot of bugs have been fixed since 3.2.0, including that one. Please see trac.rephial.org for full details (or git log if you're using git).

I don't remember sound not working under 3.2.0, but as soon as I can build it again I'll check (for some reason I am getting a segfault when I build it at the moment).

Last edited by Magnate; June 12, 2011 at 15:23.
Magnate is offline   Reply With Quote
Old June 12, 2011, 16:44   #5
CJNyfalt
Swordsman
 
Join Date: May 2007
Posts: 289
CJNyfalt is on a distinguished road
Update on the sound issue:
I tested FAAngband 1.2.1 and has the same problem with sound in it.
CJNyfalt is offline   Reply With Quote
Old June 12, 2011, 23:27   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,138
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by CJNyfalt View Post
Update on the sound issue:
I tested FAAngband 1.2.1 and has the same problem with sound in it.
Works fine for me in 10.04. Looks like it's just you
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 12, 2011, 23:54   #7
CJNyfalt
Swordsman
 
Join Date: May 2007
Posts: 289
CJNyfalt is on a distinguished road
Quote:
Originally Posted by Nick View Post
Works fine for me in 10.04. Looks like it's just you
10.04 or 11.04?
CJNyfalt is offline   Reply With Quote
Old June 13, 2011, 00:02   #8
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,138
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by CJNyfalt View Post
10.04 or 11.04?
10.04 - so I guess it's Natty Narwhal's fault.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 15, 2011, 07:32   #9
CJNyfalt
Swordsman
 
Join Date: May 2007
Posts: 289
CJNyfalt is on a distinguished road
Problem solved, is was this line in .bashrc that caused it:
export SDL_AUDIODRIVER=alsa

That is because 11.04 uses pulseaudio instead of alsa. Sound also works fine in FA now. I have to check if the other problems I had with other variants was also caused by it.
CJNyfalt is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Not working at all froboz Vanilla 1 June 22, 2010 18:12
Does anyone have sound working? Mushuukyou Vanilla 22 May 7, 2010 03:19
Can't get sound working Mushuukyou Vanilla 0 February 27, 2010 06:59
SDL sound Nick Development 1 July 16, 2009 21:14
Sound configuration nurak Vanilla 6 May 14, 2008 10:23


All times are GMT +1. The time now is 08:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.