Menu

#9 no sound

open
None
5
2003-05-16
2003-05-14
No

error messages when loading table:
SoundUtil::loadSample Unable to load
/usr/local/share/pinball/tux/flip.wav inserting a NULL wave
SoundUtil::loadSample Unable to load
/usr/local/share/pinball/tux/bumpsoft.wav inserting a
NULL wave
SoundUtil::loadSample Unable to load
/usr/local/share/pinball/tux/shoot.wav inserting a NULL
wave
...

ls -l from /usr/local/share/pinball/tux/ gives:
-rw-r--r-- 1 root root 22094 May 11 23:58
bumphard.wav
-rw-r--r-- 1 root root 22094 May 11 23:58
bumpsoft.wav
-rw-r--r-- 1 root root 27372 May 11 23:58
bump.wav
-rw-r--r-- 1 root root 19564 May 11 23:58
flip.wav
-rw-r--r-- 1 root root 44402 May 11 23:58
gameover.wav
-rw-r--r-- 1 root root 44128 May 11 23:58
lock.wav
-rw-r--r-- 1 root root 61180 May 11 23:58
loop.wav
-rw-r--r-- 1 root root 110332 May 11 23:58
nudge.wav
-rw-r--r-- 1 root root 176574 May 11 23:58
opentux.wav
-rw-r--r-- 1 root root 22094 May 11 23:58
shoot.wav
-rw-r--r-- 1 root root 61180 May 11 23:58
up.wav

the file exists in the directory...
no sound while playing...

Discussion

  • Pedro Ferreira

    Pedro Ferreira - 2003-05-14

    Logged In: YES
    user_id=162168

    the error message from SDL Mix_GetError() is:
    ERROR Mix_LoadWAV: Audio device hasn't been opened

     
  • Pedro Ferreira

    Pedro Ferreira - 2003-05-14

    Logged In: YES
    user_id=162168

    NOTABUG!
    my misstake, I had the volume off and because of that the
    module was not initialized...
    Anyway I disabled the error message when the engine is off...

     
  • Pedro Ferreira

    Pedro Ferreira - 2003-05-14
    • status: open --> closed
     
  • Henrik Enqvist

    Henrik Enqvist - 2003-05-16
    • status: closed --> pending
     
  • Pedro Ferreira

    Pedro Ferreira - 2003-05-16

    Logged In: YES
    user_id=162168

    Maybe a solution:
    When the volume is off start the engine before reading the
    waves, store them and then stop the engine.

     
  • Pedro Ferreira

    Pedro Ferreira - 2003-05-16
    • status: pending --> open
     
  • Pedro Ferreira

    Pedro Ferreira - 2003-05-16
    • assigned_to: nobody --> henqvist
     
  • rzr

    rzr - 2003-09-10

    Logged In: YES
    user_id=95924

    this have been fixed as u can notice pedro ;)

    but some users asked about beeing able to play pinball
    even if they dont have a working sound driver loaded ...

     

Log in to post a comment.

MongoDB Logo MongoDB