Home | History | Annotate | Download | only in audio

Lines Matching full:spec

393 		SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len)
489 SDL_memset(spec, 0, (sizeof *spec));
490 spec->freq = SDL_SwapLE32(format->frequency);
494 spec->format = AUDIO_S16;
500 spec->format = AUDIO_U8;
503 spec->format = AUDIO_S16;
514 spec->channels = (Uint8)SDL_SwapLE16(format->channels);
515 spec->samples = 4096; /* Good default buffer size */
549 samplesize = ((spec->format & 0xFF)/8)*spec->channels;
565 spec = NULL;
567 return(spec);