Lines Matching refs:desired
118 * This function opens the audio device with the desired parameters, and
126 * When filling in the desired audio spec structure,
127 * 'desired->freq' should be the desired audio frequency in samples-per-second.
128 * 'desired->format' should be the desired audio format.
129 * 'desired->samples' is the desired size of the audio buffer, in samples.
139 * 'desired->size' is the size in bytes of the audio buffer, and is
141 * 'desired->silence' is the value used to set the buffer to silence,
143 * 'desired->callback' should be set to a function that will be called
149 * 'desired->userdata' is passed as the first parameter to your callback
158 extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained);
221 * to the desired format.