| Reference Manual - 0.9.25 |
| FusionSound Types | |
| FSSF_UNKNOWN | Unknown or invalid format. | |
| FSSF_U8 | Unsigned 8 bit. | |
| FSSF_S16 | Signed 16 bit (native endian). | |
| FSSF_S24 | Signed 24 bit (little endian). | |
| FSSF_S32 | Signed 32 bit (native endian). |
| FSBDF_NONE | None of these. | |
| FSBDF_LENGTH | Buffer length is set. | |
| FSBDF_CHANNELS | Number of channels is set. | |
| FSBDF_SAMPLEFORMAT | Sample format is set. | |
| FSBDF_SAMPLERATE | Sample rate is set. | |
| FSBDF_ALL | All of these. |
| FSBufferDescriptionFlags | flags; | Defines which fields are set. | |
| int | length; | Buffer length specified as number of samples per channel. | |
| int | channels; | Number of channels. | |
| FSSampleFormat | sampleformat; | Format of each sample. | |
| int | samplerate; | Number of samples per second. |
| FSSDF_NONE | None of these. | |
| FSSDF_BUFFERSIZE | Ring buffer size is set. | |
| FSSDF_CHANNELS | Number of channels is set. | |
| FSSDF_SAMPLEFORMAT | Sample format is set. | |
| FSSDF_SAMPLERATE | Sample rate is set. | |
| FSSDF_PREBUFFER | Prebuffer amount is set. | |
| FSSDF_ALL | All of these. |
| FSStreamDescriptionFlags | flags; | Defines which fields are set. | |
| int | buffersize; | Ring buffer size specified as a number of samples (per channel). | |
| int | channels; | Number of channels. | |
| FSSampleFormat | sampleformat; | Format of each sample. | |
| int | samplerate; | Number of samples per second (per channel). | |
| int | prebuffer; | Samples to buffer before starting the playback. A negative value disables auto start of playback. |
| FMCAPS_BASIC | basic ops (PlayTo, Stop) | |
| FMCAPS_SEEK | supports SeekTo | |
| FMCAPS_RESAMPLE | can resample the audio |
| char | artist[FS_TRACK_DESC_ARTIST_LENGTH]; | Artist | |
| char | title[FS_TRACK_DESC_TITLE_LENGTH]; | Title | |
| char | album[FS_TRACK_DESC_ALBUM_LENGTH]; | Album | |
| short | year; | Year | |
| char | genre[FS_TRACK_DESC_GENRE_LENGTH]; | Genre | |
| char | encoding[FS_TRACK_DESC_ENCODING_LENGTH]; | Encoding (for example: MPEG Layer-1) | |
| int | bitrate; | Bitrate in bits/s |
| DFBEnumerationResult (*FSTrackCallback) ( | |||
| FSTrackID | track_id, | ||
| FSTrackDescription | desc, | ||
| void | *callbackdata | ||
| ); | |||
| FSPLAY_NOFX | No effects are applied. | |
| FSPLAY_LOOPING | Playback will continue at the beginning of the buffer as soon as the end is reached. There's no gap produced by concatenation. Only one looping playback at a time is supported by the simple playback. See also CreatePlayback(). | |
| FSPLAY_PAN | Use value passed to SetPan() to control the balance between left and right speakers. | |
| FSPLAY_ALL | All of these. |