Re: Sound playback is muffled
keghn <[email protected]> Wed, 28 Aug 2013 15:29:25 -0700 (PDT)
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Hello. I ran you code on my linux machine and it work great. I tested 16 bit 44100 stereo, 16bit 44100 mono, 22050 mono 16bit, and 8bit 22050 wav files. My machine is a little enadian computer which most pc are. but i herd apple use big enadian to store there byte in memory. /* Compile as: g++ wavvve.cpp -lalut -lopenal -o wavvve #include <unistd.h> #include <iostream> #include <vector> #include <string.h> #include <stdio.h> #include <stdlib.h> using std::vector; //#include <OpenAL/al.h> //#include <OpenAL/alc.h> #include <AL/al.h> #include <AL/alc.h> unsigned short ReadLE2(....................................etc... -- View this message in context: http://openal.996291.n3.nabble.com/Sound-playback-is-muffled-tp2328p5574.html Sent from the OpenAL - User mailing list archive at Nabble.com. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal