Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sdl_audiocvt(3) [opensolaris man page]

SDL_AudioCVT(3) 						 SDL API Reference						   SDL_AudioCVT(3)

NAME
SDL_AudioCVT - Audio Conversion Structure STRUCTURE DEFINITION
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; STRUCTURE DATA
needed Set to one if the conversion is possible src_format Audio format of the source dest_format Audio format of the destination rate_incr Rate conversion increment buf Audio buffer len Length of the original audio buffer in bytes len_cvt Length of converted audio buffer in bytes (calculated) len_mult buf must be len*len_mult bytes in size(calculated) len_ratio Final audio size is len*len_ratio filters[10](..) Pointers to functions needed for this conversion filter_index Current conversion function DESCRIPTION
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_AudioCVT structure should be considered private and their function will not be discussed here. Uint8 *buf int len int len_mult double len_ratio SEE ALSO
SDL_BuildAudioCVT, SDL_ConvertAudio, SDL_AudioSpec SDL
Tue 11 Sep 2001, 22:58 SDL_AudioCVT(3)

Check Out this Related Man Page

SDL_AudioCVT(3) 						 SDL API Reference						   SDL_AudioCVT(3)

NAME
SDL_AudioCVT - Audio Conversion Structure STRUCTURE DEFINITION
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; STRUCTURE DATA
needed Set to one if the conversion is possible src_format Audio format of the source dest_format Audio format of the destination rate_incr Rate conversion increment buf Audio buffer len Length of the original audio buffer in bytes len_cvt Length of converted audio buffer in bytes (calculated) len_mult buf must be len*len_mult bytes in size(calculated) len_ratio Final audio size is len*len_ratio filters[10](..) Pointers to functions needed for this conversion filter_index Current conversion function DESCRIPTION
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_AudioCVT structure should be considered private and their function will not be discussed here. Uint8 *buf int len int len_mult double len_ratio SEE ALSO
SDL_BuildAudioCVT, SDL_ConvertAudio, SDL_AudioSpec SDL
Tue 11 Sep 2001, 22:58 SDL_AudioCVT(3)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error with Audio Conversion Bash Script

Good evening, I'm currently working on a BASH script to convert audio between file formats and I've come across a snag. At the beginning of the script, I'm having the system check to see if any files with the .m4a extension exist in the directory, and if so, it runs the script. If there are no... (1 Reply)
Discussion started by: KBurkholder
1 Replies

2. Shell Programming and Scripting

Extract sequences of bytes from binary for differents blocks

Hello to all, I would like to search sequences of bytes inside big binary file. The bin file contains blocks of information, each block begins is estructured as follow: 1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33. 2- Next... (59 Replies)
Discussion started by: Ophiuchus
59 Replies