Lines Matching defs:spec
2480 SDL_AudioSpec wanted_spec, spec;
2511 while (!(audio_dev = SDL_OpenAudioDevice(NULL, 0, &wanted_spec, &spec, SDL_AUDIO_ALLOW_FREQUENCY_CHANGE | SDL_AUDIO_ALLOW_CHANNELS_CHANGE))) {
2526 if (spec.format != AUDIO_S16SYS) {
2528 "SDL advised audio format %d is not supported!\n", spec.format);
2531 if (spec.channels != wanted_spec.channels) {
2533 av_channel_layout_default(wanted_channel_layout, spec.channels);
2536 "SDL advised channel count %d is not supported!\n", spec.channels);
2542 audio_hw_params->freq = spec.freq;
2551 return spec.size;
3540 const char *spec = strchr(opt, ':');
3541 if (!spec) {
3547 spec++;
3548 switch (spec[0]) {
3554 "Invalid media specifier '%s' in option '%s'\n", spec, opt);
3583 { "fast", OPT_BOOL | OPT_EXPERT, { &fast }, "non spec compliant optimizations", "" },