[SDL] SDL test program, no sound and no error either

Daniel Grace danwgrace at gmail.com
Thu Mar 13 05:55:40 PDT 2008


> > On Sun, Mar 9, 2008 at 6:28 PM, Albert Zeyer
> > <albert.zeyer at rwth-aachen.de> wrote:
> > > Unmute them. (Just for testing unmute everything.)
> > How do I do that ?   I've used the command before is it alsamixer ?
> Doesn't matter which mixer you are using. Just unmute them.

How ?  Is it an amixer parameter ?  Or some other command ?

> Are you serious?? You forgot to include it in your code? (You said before that your code is equal to the ZIP file...)
>

I made a mistake.

> Of course without the loop the app will quit immediatly and therefore also not play anything.
OK.

> > > > > > There is none, it just says "press a key..." when it has
> > finished.> Why are you getting this output?
> > KDevelop outputs this message, or something similar.
> Why KDevelop?? I thought you are starting the application in a terminal?

I have used KDevelop to build the app.  I am using both ways to lauch the
app, but you are right there is no output when I launch from a terminal.


> > > SDL_AUDIODRIVER=oss ./yourapp
> > That gives an error:
> > Unable to initialize audio: No available audio device
> OK, not that unexpected. Probably OSS is not configured on your system. But don't care about this.

OK.


More information about the SDL mailing list