Hello, I've been trying to program basic sound in linux with OpenAL. However, when I compile the code and run, I get no sound. I've linked to lopenal and lalut.
When I compile using this code, I get an error in the console that says dev/dsp can't be found...
alutInit(&argc, argv); ALuint buffer = alutCreateBufferHelloWorld(); ALuint source; alGenSources(1, &source); alSourcei(source, AL_BUFFER, buffer); alSourcePlay(source); return(0);
Edited by ProvenDantheman, 11 March 2013 - 02:08 PM.