Searched refs:wanted_spec (Results 1 – 1 of 1) sorted by relevance
2500 SDL_AudioSpec wanted_spec, spec; in audio_open() local2516 wanted_spec.channels = wanted_nb_channels; in audio_open()2517 wanted_spec.freq = wanted_sample_rate; in audio_open()2518 if (wanted_spec.freq <= 0 || wanted_spec.channels <= 0) { in audio_open()2522 while (next_sample_rate_idx && next_sample_rates[next_sample_rate_idx] >= wanted_spec.freq) in audio_open()2524 wanted_spec.format = AUDIO_S16SYS; in audio_open()2525 wanted_spec.silence = 0; in audio_open()2526 …wanted_spec.samples = FFMAX(SDL_AUDIO_MIN_BUFFER_SIZE, 2 << av_log2(wanted_spec.freq / SDL_AUDIO_M… in audio_open()2527 wanted_spec.callback = sdl_audio_callback; in audio_open()2528 wanted_spec.userdata = opaque; in audio_open()[all …]