Tao.Sdl SDK Documentation

Sdl.SDL_AudioCVT Structure

Audio Conversion Structure

For a list of all members of this type, see Sdl.SDL_AudioCVT Members.

System.Object
   System.ValueType
      Tao.Sdl.Sdl.SDL_AudioCVT

[Visual Basic]
Public Structure Sdl.SDL_AudioCVT
[C#]
public struct Sdl.SDL_AudioCVT

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 SDL_AudioCVT is used to convert audio data between different formats. A SDL_AudioCVT structure is created with the SDL_BuildAudioCVT function, while the actual conversion is done by the SDL_ConvertAudio function.

Many of the fields in the Sdl.SDL_AudioCVT structure should be considered private and their function will not be discussed here.

typedef struct{
   int needed;
   Uint16 src_format;
   Uint16 dest_format;
   double rate_incr;
   Uint8 *buf;
   int len;
   int len_cvt;
   int len_mult;
   double len_ratio;
   void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
                           int filter_index;
                       } SDL_AudioCVT;

Requirements

Namespace: Tao.Sdl

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

See Also

Sdl.SDL_AudioCVT Members | Tao.Sdl Namespace | SDL_BuildAudioCVT | SDL_ConvertAudio | Sdl.SDL_AudioSpec