You are not logged in.

#1 2008-11-30 10:50:32

Sharpeee
Member
From: Denmark
Registered: 2008-10-19
Posts: 59

[SOLVED] SDL and OSS4 = no sound

I have OSS4 running nicely on my setup, but SDL don't work. It is really annoying as I don't have any sound in any games.

OSS version:
Version info: OSS 4.1 (b rc4/200811280005) (0x00040090) GPL

I have

export SDL_AUDIODRIVER="oss"

in my ~/.bashrc and /etc/environment.

When I run fx. etracer I get

%%% etracer warning: Warning: Couldn't set 44100 Hz 16-bit audio
  Reason: No available audio device

pacman -Qs sdl gives me:

local/sdl 1.2.13-3
    A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
local/sdl_image 1.2.6-2
    A simple library to load images of various formats as SDL surfaces
local/sdl_mixer 1.2.8-3
    A simple multi-channel audio mixer
local/sdl_ttf 2.0.9-1
    A library that allows you to use TrueType fonts in your SDL applications
local/smpeg 0.4.4-4
    SDL MPEG Player Library

Do I miss something? I have been searching a lot, but nobody seems to have the same problem.

Last edited by Sharpeee (2008-11-30 21:23:41)

Offline

#2 2008-11-30 17:35:28

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] SDL and OSS4 = no sound

This isn't going to help, but all things SDL that I tried work fine with OSSv4 without having to do anything special.

Offline

#3 2008-11-30 17:41:36

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED] SDL and OSS4 = no sound

Same here, worked ootb ..

Offline

#4 2008-11-30 21:23:18

Sharpeee
Member
From: Denmark
Registered: 2008-10-19
Posts: 59

Re: [SOLVED] SDL and OSS4 = no sound

Actually that did help! I removed all

export SDL_AUDIODRIVER="oss"

referenced I had, and now it works just fine. Don't know why I didn't try that to begin with?

Offline

Board footer

Powered by FluxBB