www.pudn.com > VOIP_server_client.rar > peer1_sound_play.h


//Sound_play.h 
#include  
#include  
#include  
 
#define play_buffer_size 10 // size of play_buffer and play_share_buffer 
#define PLAY_BUF_LEN 10 
// PROTOTYPES ///////////////////////////////////////////// 
 
void pr(HWND, char*); 
 
int Play_Sound_Init(HWND,HWND); 
 
int Play_Sound(HWND); 
 
int Sound_Shutdown(HWND); 
 
int fill_data(HWND, DWORD, DWORD); 
 
int Sound_stop(HWND); 
 
void Get_Current_Position(HWND); 
 
int Copy_Play_Data(char*, HWND);