No sound: "can't find a proper buffer size"

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
voltaic
New user
Posts: 1
Joined: 23 Jul 2009, 04:52

No sound: "can't find a proper buffer size"

Post by voltaic »

Hello. I am running 2.2.1 in 32-bit Linux (CRUX). I get the following errors when I try to run the program:

Code: Select all

error   |10:43:32: [sound_DecodeOggVorbis] can't find a proper buffer size
error   |10:43:32: [resLoadFile] resLoadFile: The load function for resource type "WAV" failed for file "beep1.ogg"
error   |10:43:32: [resLoad] resLoad: failed to parse wrf/frontend.wrf
error   |10:43:32: [startTitleLoop] Shutting down after failure
The game runs as expected with the --nosound option.

The software I use is as follows:
libogg 1.1.4
libvorbis 1.2.2
ALSA 1.0.20
openal 1.7.411 (also tried 1.8.466)

Does anyone have any suggestions? I get the same error with wz2100 2.1.3, which suggests to me this is a sound configuration issue on my end.

------

On another system, I am having trouble with sound using the OSS 4.1_1052b drivers. The errors are the following:

Code: Select all

error   |11:16:22: [PrintOpenALVersion] OpenAL Vendor: (null)
error   |11:16:22: [PrintOpenALVersion] OpenAL Version: (null)
error   |11:16:22: [PrintOpenALVersion] OpenAL Renderer: (null)
error   |11:16:22: [PrintOpenALVersion] OpenAL Extensions: (null)
error   |11:16:22: [sound_InitLibrary] Couldn't open audio device.
error   |11:16:22: [sound_Init] Cannot init sound library
error   |11:16:24: [cdAudio_OpenTrack] Failed creating audio stream for music/menu.ogg
Other than the different sound drivers the system are nearly identical in software configuration.

If it would be more appropriate, I can start a different thread for the OSS issue.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: No sound: "can't find a proper buffer size"

Post by cybersphinx »

voltaic wrote:libvorbis 1.2.2
Downgrading to 1.2.0 usually helped. See also #669.
openal 1.7.411 (also tried 1.8.466)
That doesn't have to do anything with your problem, but 1.7 is quite bad with Warzone (1.8 somewhat better), if you don't limit the number of used sources in its config file. OpenAL-Soft 1.5 or the OpenAL sample implementation work best, it seems.

I've no idea about the OSS issue, sorry.