Lines Matching refs:desired
112 * This function opens the audio device with the desired parameters, and
120 * When filling in the desired audio spec structure,
121 * 'desired->freq' should be the desired audio frequency in samples-per-second.
122 * 'desired->format' should be the desired audio format.
123 * 'desired->samples' is the desired size of the audio buffer, in samples.
133 * 'desired->size' is the size in bytes of the audio buffer, and is
135 * 'desired->silence' is the value used to set the buffer to silence,
137 * 'desired->callback' should be set to a function that will be called
143 * 'desired->userdata' is passed as the first parameter to your callback
152 extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained);
215 * to the desired format.