snd_format_choose%(flags%, format%, title$, parent%)

Parameters
flags%
Mixture of these flags:
1 - Format can be used for playback.
2 - Format can be used for recording.
4 - Format has support for hardware. (If neither flags 1 or 2 are supplied, formats for both
recording and playback are allowed.)
8 - Format must be compatible (with rules of other flags if provided) with 'format'.
format%
(Optional) Handle to a format created with snd_format_create, snd_format_choose, or snd_codec_getformat. This
is only required if you specify flag 8 in 'flags'.
title$
Title to use for the dialog window produced.
parent%
(Optional) Handle to a window that will own the dialog produced. This can be zero
if no parent is desired. This handle should be used with QueryWindow function in BlitzPlus.

Description
Produces a dialog box which contains all the available formats on the system. title and parent control
the style and ownership of the produced window.

The returned format can be freed with snd_format_free.

Return
Returns a format the user selected, 0 i the user cancels the dialog.

SndLib : Sound Formats : snd_format_choose