snd_codec_getformat%(index%)

Parameters
index%
Index of format, ranges from 0 to one less than snd_codec_formats.

Description
Gets a format associated with a codec. The format can be used like formats obtained by snd_format_create, snd_format_choose, etc.

Return
Returns format, zero otherwise.

SndLib : Sound Codecs : snd_codec_getformat