|
|
|
DLL_API FSOUND_STREAM * F_API FSOUND_Stream_Create(
FSOUND_STREAMCALLBACK callback,
int lenbytes,
unsigned int mode,
int samplerate,
void *userdata
);
| callback | A pointer to a user defined stream callback function. |
| lenbytes | Size of the data in BYTES the callback will require to be written to the buffer. |
| mode | Description of the raw sample data being opened. see FSOUND_MODES for a description of these modes. |
| samplerate | Rate of playback. Be careful you dont set the sample rate too high so that the stream servicer (ie the harddisk) may not keep up. |
| userdata | User data that is passed back into the stream callback when triggered. |