27 lines
1.3 KiB
C
27 lines
1.3 KiB
C
/* module de gestion des ressources samples PCM streamees*/
|
|
/* multi plateforme */
|
|
|
|
long SND_fn_lPlaySxdStream(tduRefRes res,SoundParam *par,long prio,SND_td_pfn_vSoundCallback fn_callback,long par_callback);
|
|
void SND_fn_vRemoveCallbackSxdStream(long voice);
|
|
SndBool SND_fn_bSetParamSxdStream(long voice,SoundParam *par);
|
|
SndBool SND_fn_bTestIsPlayingSxdStream(long voice);
|
|
void SND_fn_vStopSxdStream(long voice);
|
|
void SND_fn_vPauseSxdStream(long voice);
|
|
void SND_fn_vResumeSxdStream(long voice);
|
|
int SND_fn_iInitSxdStream(SND_tdstInitStruct *pInitStruct);
|
|
SndBool SND_fn_bTestInitSxdStream(void);
|
|
void SND_fn_vDesInitSxdStream(void);
|
|
SndReal SND_fn_rGetPosSxdStream(long voice);
|
|
SndReal SND_fn_rGetLengthSxdStream(long voice);
|
|
SndBool SND_fn_bLoadResScriptSxdStream(tdstBlockResourceDisk *disk,tdstBlockResourceMem *mem);
|
|
SndBool SND_fn_bLoadResBinarySxdStream(tdstBlockResourceDisk *_pBRDisk,tdstBlockResourceMem *_pBRMem,char *pDataBloc);
|
|
void SND_fn_vUnLoadResSxdStream(tdstBlockResourceMem* mem);
|
|
SndBool SND_fn_bSetResourceStaticVolumeSxdStream(tdstBlockResourceMem* pstRes,unsigned char ucVolume);
|
|
|
|
#ifdef PSX
|
|
long PlayStream(char* Name,unsigned int Length,char Channel,int nLoop);
|
|
void SetVolume(unsigned char Volume);
|
|
void StopStream();
|
|
void PauseStream();
|
|
void ResumeStream(void);
|
|
#endif |