Playing sound in an avi file
I am developing video player in Linux using C/C++. well I am using libavi library to open and play avi files. Now the I am getting the video display working correctly but I cannot play the sound. I obtained the sound samples for each frame (at a time) in a buffer . Now what should I do to make it play. I am also using libSDL to create a display and sound object on the screen.