
Hi Friends,here we will discuss about how to play a Wave file using C program.i found source code to play Wave file.Copy and Paste ,compile using Turbo C++ 3.0.
Source Code:
//Include files
#include "ALLOC.H"
#include "DOS.H"
#include "CONIO.H"
#include "STDIO.H"
void playwav(char wavefile[14],float delaytime);
struct WaveData {
unsigned int SoundLength, Frequency;
char *Sample;
};
struct HeaderType {
long ...