Channels

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TBASS (Sound Module) >

Channels

 

A "channel" can be a playing sample (HCHANNEL), a sample stream (HSTREAM), a MOD music (HMUSIC), or a recording (HRECORD).

Each "Channel" function can be used with one or more of these channel types.

 

The types of channel

Flag

Meaning

HCHANNEL

Returned by TBASS_SampleGetChannel.

HSTREAM

Returned by TBASS_StreamCreate, TBASS_StreamCreateFile, TBASS_StreamCreateURL, TBASS_StreamCreateFileUser.

Also add-on provided functions.

HMUSIC

Returned by TBASS_MusicLoad.

HRECORD

Returned by TBASS_RecordStart.