Tao.Sdl SDK Documentation

SdlMixer.Mix_Chunk Structure

The internal format for an audio chunk

For a list of all members of this type, see SdlMixer.Mix_Chunk Members.

System.Object
   System.ValueType
      Tao.Sdl.SdlMixer.Mix_Chunk

[Visual Basic]
Public Structure SdlMixer.Mix_Chunk
[C#]
public struct SdlMixer.Mix_Chunk

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The internal format for an audio chunk. This stores the sample data, the length in bytes of that data, and the volume to use when mixing the sample.

Struct in SDL_mixer.h

            typedef struct Mix_Chunk {
                    int allocated;
                    Uint8 *abuf;
                    Uint32 alen;
                    Uint8 volume;     /* Per-sample volume, 0-128 */
                } Mix_Chunk;
            

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

SdlMixer.Mix_Chunk Members | Tao.Sdl Namespace | Mix_VolumeChunk | Mix_GetChunk | Mix_LoadWAV | Mix_LoadWAV_RW | Mix_FreeChunk