| ActiveTcl User Guide |

# Snack library functions

`This is the public API of Snack to be used by C/C++-level extensions. The functions are contained in Snack's stub library, libsnackstub2.1.a (unix), snackstub21.lib (win). Linking with this will make your extension usable with different versions of Snack without recompilation.`

`Snack_AddCallback`

`Snack_AddSubCmd`

`Snack_Alaw2Lin`

`Snack_CreateFilterType`

`Snack_CreateFileFormat`

`Snack_DeleteSound`

`Snack_ExecCallbacks`

`Snack_GetBytesPerSample`

`Snack_GetFrequency`

`Snack_GetLength`

`Snack_GetNumChannels`

`Snack_GetSample`

`Snack_GetSampleFormat`

`Snack_GetSound`

`Snack_GetSoundData`

`Snack_GetSoundFilename`

`Snack_Lin2Alaw`

`Snack_Lin2Mulaw`

`Snack_Mulaw2Lin`

`Snack_NewSound`

`Snack_PutSoundData`

`Snack_RemoveCallback`

`Snack_ResizeSoundStorage`

`Snack_SetBytesPerSample`

`Snack_SetFrequency`

`Snack_SetHeaderSize`

`Snack_SetLength`

`Snack_SetNumChannels`

`Snack_SetSample`

`Snack_SetSampleFormat`

`Snack_SwapShort`

`Snack_UpdateExtremes`

Snack home