Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Kein sound unter sdl oder allegro
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Sat Jan 15, 2005 10:39 pm    Post subject: [solved] Kein sound unter sdl oder allegro Reply with quote

Hallo,
es gibt ja den einen oder anderen Thread über Sound in Spielen, aber nirgends funktioniert der sound in allen anderen Anwendungen!
Code:

uname:
uname --all
Linux Laptop 2.6.9-gentoo-r9 #1 Wed Jan 12 19:24:27 CET 2005 i686 mobile AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux

Ich benutze udev. In /dev/sound gibt es folgenes:
Code:

ll /dev/sound/
total 0
crw-------  1 markus audio 14, 12 Jan 15 21:36 adsp
crw-------  1 markus audio 14,  4 Jan 15 21:36 audio
crw-------  1 markus audio 14,  3 Jan 15 21:36 dsp
crw-------  1 markus audio 14,  0 Jan 15 21:36 mixer
crw-------  1 markus root  14,  1 Jan 15 22:36 sequencer
crw-------  1 markus root  14,  8 Jan 15 22:36 sequencer2

und auf alles einen symlink in /dev/

Ich habe kde laufen, der arts ist aber aus! Wenn er läuft, dann kommt auch Sound.

Auch xmms spielt, sowohl mit alsa als auch mit oss.

Beim Start von liquidwar gibt es folgende Meldung:
Code:

Allegro ID : Allegro 4.0.3, Unix

Loading config options from "/home/markus/.liquidwarrc" - success!
Installing timer (driver="Unix pthreads timers") - success!
Installing keyboard (driver="X-Windows keyboard") - success!
Installing mouse (driver="X-Windows mouse") - success!
Installing sound (digi="No sound", midi="No sound") - success!
Installing joystick (driver="No joystick") - success!
Setting up network - success!
Allocating 16 Mb - success!


Beim start von frozen-Bubble:
Code:

[SDL Init] [Graphics...] [Levels]
Warning: can't initialize sound (reason: No available audio device).
Ready.


Von SDL ist folgendes installiert:
Code:

*  dev-perl/sdl-perl
      Latest version available: 1.20.3
      Latest version installed: 1.20.3
      Size of downloaded files: 779 kB
      Homepage:    http://sdl.perl.org/
      Description: SDL binding for perl
      License:     GPL-2

*  media-libs/libsdl
      Latest version available: 1.2.7-r3
      Latest version installed: 1.2.7-r3
      Size of downloaded files: 2,413 kB
      Homepage:    http://www.libsdl.org/
      Description: Simple Direct Media Layer
      License:     LGPL-2

*  media-libs/sdl-gfx
      Latest version available: 2.0.12
      Latest version installed: 2.0.12
      Size of downloaded files: 543 kB
      Homepage:    http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html
      Description: Graphics drawing primitives library for SDL
      License:     LGPL-2.1

*  media-libs/sdl-image
      Latest version available: 1.2.3-r1
      Latest version installed: 1.2.3-r1
      Size of downloaded files: 621 kB
      Homepage:    http://www.libsdl.org/projects/SDL_image/index.html
      Description: image file loading library
      License:     LGPL-2

*  media-libs/sdl-mixer
      Latest version available: 1.2.5-r1
      Latest version installed: 1.2.5-r1
      Size of downloaded files: 914 kB
      Homepage:    http://www.libsdl.org/projects/SDL_mixer/index.html
      Description: Simple Direct Media Layer Mixer Library
      License:     LGPL-2

*  media-libs/sdl-sound
      Latest version available: 1.0.1-r1
      Latest version installed: 1.0.1-r1
      Size of downloaded files: 995 kB
      Homepage:    http://icculus.org/SDL_sound/
      Description: A library that handles the decoding of sound file formats
      License:     LGPL-2.1

*  media-libs/sdl-ttf
      Latest version available: 2.0.6
      Latest version installed: 2.0.6
      Size of downloaded files: 1,088 kB
      Homepage:    http://www.libsdl.org/projects/SDL_ttf/
      Description: library that allows you to use TrueType fonts in SDL applications
      License:     LGPL-2


Von Allegro folgendes:
Code:

*  media-libs/allegro
      Latest version available: 4.0.3
      Latest version installed: 4.0.3
      Size of downloaded files: 2,382 kB
      Homepage:    http://alleg.sourceforge.net/
      Description: cross-platform multimedia library
      License:     Allegro

*  media-libs/allegrogl
      Latest version available: 0.2.4
      Latest version installed: 0.2.4
      Size of downloaded files: 351 kB
      Homepage:    http://allegrogl.sourceforge.net
      Description: A library to mix OpenGL graphics with Allegro routines
      License:     ZLIB


Ich habe in meiner /etc/profile auch schon folgendes eingefügt:
Code:

export SDL_PATH_DSP="/dev/dsp"

Ohne Effekt!

Hat jemand eine Idee, warum der Sound nicht läuft???
Braucht ihr noch andere Infos??

Vielen Dank für Hilfe!


Last edited by markusk21 on Mon Feb 14, 2005 4:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
markusk21
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 216
Location: Hannover

PostPosted: Mon Feb 14, 2005 4:18 pm    Post subject: Reply with quote

Hmm,
jetzt läuft es!
Ich musste einige Perl-Progs neu emergen (perl, sdl-perl und andere)
und jetzt geht es wieder.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum