Opened 16 years ago

Closed 16 years ago

Last modified 20 months ago

#1605 closed defect (invalid)

AdLib outputs where?

Reported by: SF/routsikka Owned by: SF/ender
Priority: normal Component: Port: Linux
Keywords: Cc:
Game:

Description

Using Debian Unstable version of ScummVM 0.6.0 (Mar 14 2004 18:01:37)

Documentation states:

"7.1) Playing sound with Adlib emulation: ---- ----------------------------------- By default an Adlib card will be emulated and ScummVM will output the music as sampled waves. This is the default mode for most games, and offers the best compatibility between machines and games."

But where does Adlib emulation's output actually go, because I have no sound or music? I haven't found a switch to set Adlib module's output option.

If I try to use Adlib emulation, I get these error messages

WARNING: Sound mixer initialization failed! WARNING: MIDI driver depends on sound mixer, switching to null MIDI driver!

I have ALSA and its OSS-emulation configured. The working ALSA device is hw:0,1. Sound drivers are from 2.6.2 kernel.

Ticket imported from: #939256. Ticket imported from: bugs/1605.

Change History (4)

comment:1 by eriktorbjorn, 16 years ago

To whatever the SDL library decides to use, I guess. I think that the first message means that SDL_OpenAudio() failed for whatever reason. If so, it's unlikely to be a ScummVM bug. Are other SDL applications able to play sound on your computer?

comment:2 by SF/ender, 16 years ago

Sounds to me like you have permission problems on /dev/dsp

As erik suggested, this error indeed means that the SDL OSystem interface was not able to create a sound device. I would suggest apt-get source'ing ScummVM and placing the line:

warning("Couldn't open sound device: %s", SDL_GetError());

after "if (SDL_OpenAudio...) {" and before "return false;" in the source trees backends/sdl/sdl.cpp. Then rebuild the package for an better error message regarding your problem.

I'll make sure this debugging line goes into ScummVM 0.6.1

Closing bug, this is a system configuration issue.

comment:3 by SF/ender, 16 years ago

Owner: set to SF/ender
Resolution: invalid
Status: newclosed

comment:4 by digitall, 20 months ago

Component: --Unset--Port: Linux
Note: See TracTickets for help on using tickets.