10 #ifndef _FMOD_OUTPUT_H
11 #define _FMOD_OUTPUT_H
20 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_GETNUMDRIVERSCALLBACK)(
FMOD_OUTPUT_STATE *output_state,
int *numdrivers);
21 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_GETDRIVERNAMECALLBACK)(
FMOD_OUTPUT_STATE *output_state,
int id,
char *name,
int namelen);
22 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_GETDRIVERCAPSCALLBACK)(
FMOD_OUTPUT_STATE *output_state,
int id, FMOD_CAPS *caps);
23 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_INITCALLBACK) (
FMOD_OUTPUT_STATE *output_state,
int selecteddriver, FMOD_INITFLAGS flags,
int *outputrate,
int outputchannels, FMOD_SOUND_FORMAT *outputformat,
int dspbufferlength,
int dspnumbuffers,
void *extradriverdata);
24 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_CLOSECALLBACK) (
FMOD_OUTPUT_STATE *output_state);
25 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_UPDATECALLBACK) (
FMOD_OUTPUT_STATE *output_state);
26 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_GETHANDLECALLBACK) (
FMOD_OUTPUT_STATE *output_state,
void **handle);
27 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_GETPOSITIONCALLBACK) (
FMOD_OUTPUT_STATE *output_state,
unsigned int *pcm);
28 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_LOCKCALLBACK) (
FMOD_OUTPUT_STATE *output_state,
unsigned int offset,
unsigned int length,
void **ptr1,
void **ptr2,
unsigned int *len1,
unsigned int *len2);
29 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_UNLOCKCALLBACK) (
FMOD_OUTPUT_STATE *output_state,
void *ptr1,
void *ptr2,
unsigned int len1,
unsigned int len2);
30 typedef FMOD_RESULT (F_CALLBACK *FMOD_OUTPUT_READFROMMIXER) (
FMOD_OUTPUT_STATE *output_state,
void *buffer,
unsigned int length);
55 FMOD_OUTPUT_GETNUMDRIVERSCALLBACK getnumdrivers;
56 FMOD_OUTPUT_GETDRIVERNAMECALLBACK getdrivername;
57 FMOD_OUTPUT_GETDRIVERCAPSCALLBACK getdrivercaps;
58 FMOD_OUTPUT_INITCALLBACK init;
59 FMOD_OUTPUT_CLOSECALLBACK close;
60 FMOD_OUTPUT_UPDATECALLBACK update;
61 FMOD_OUTPUT_GETHANDLECALLBACK gethandle;
62 FMOD_OUTPUT_GETPOSITIONCALLBACK getposition;
63 FMOD_OUTPUT_LOCKCALLBACK lock;
64 FMOD_OUTPUT_UNLOCKCALLBACK unlock;
88 FMOD_OUTPUT_READFROMMIXER readfrommixer;
Definition: fmod_output.h:50
Definition: fmod_output.h:85