Searched refs:wav_spec (Results 1 – 1 of 1) sorted by relevance
58 SDL_AudioSpec wav_spec{}; in OpenAudioDevice() local59 wav_spec.freq = freq; in OpenAudioDevice()60 wav_spec.format = AUDIO_S16LSB; in OpenAudioDevice()61 wav_spec.channels = num_channels; in OpenAudioDevice()62 wav_spec.silence = 0; in OpenAudioDevice()66 wav_spec.samples = 4096; in OpenAudioDevice()67 wav_spec.size = 0; in OpenAudioDevice()69 auto audio_device_id = SDL_OpenAudioDevice(nullptr, 0, &wav_spec, nullptr, 0); in OpenAudioDevice()