Previous Topic Index Next Topic
[API function]

FSOUND_GetOutputHandle

Returns a pointer to the system level output device module.
This means a pointer to a DIRECTSOUND, IA3d5, or with NOSOUND output, NULL

void * F_API FSOUND_GetOutputHandle(
);

Return Value

Pointer to output handle specific to the device.

Remarks

Must be called after FSOUND_Init or else it will fail,
Cast the resulting pointer depending on what output system pointer you are after.
FSOUND_OUTPUT_NOSOUND, NULL is returned.
FSOUND_OUTPUT_WINMM, HWAVEOUT is returned.
FSOUND_OUTPUT_DSOUND, LPDIRECTSOUND is returned.
FSOUND_OUTPUT_A3D, IA3d5 * is returned.
FSOUND_OUTPUT_OSS, int is returned. (cast to int)
FSOUND_OUTPUT_ESD, int is returned. (cast to int)
FSOUND_OUTPUT_ALSA snd_pcm_t * is returned.

See Also

FSOUND_GetOutput , FSOUND_Init , FSOUND_OUTPUTTYPES , FSOUND_SetOutput

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.