##### [API function]

## FSOUND_GetOutputHandle

Returns a pointer to the system level output device module.
This means a pointer to a DIRECTSOUND, WINMM handle, 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_OSS, File handle is returned, (cast to int)
FSOUND_OUTPUT_ESD, Handle returned by so_esd_open_sound (cast to int).
FSOUND_OUTPUT_ALSA snd_pcm_t * is returned.
FSOUND_OUTPUT_ASIO AsioDriverList pointer is returned.
FSOUND_OUTPUT_XBOX LPDIRECTSOUND is returned.
FSOUND_OUTPUT_PS2 NULL is returned.
FSOUND_OUTPUT_MAC SndChannelPtr is returned.
FSOUND_OUTPUT_GC NULL is returned.
FSOUND_OUTPUT_PSP NULL is returned.
FSOUND_OUTPUT_NOSOUND_NONREALTIME NULL is returned.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox

### See Also

FSOUND_GetOutput , FSOUND_Init , FSOUND_OUTPUTTYPES , FSOUND_SetFrequency , FSOUND_SetOutput

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:30 2005 by SourceDoc v0.10, the automated source code documenter.