Searched refs:s_samplerate (Results 1 – 5 of 5) sorted by relevance
165 static int s_samplerate, s_channels; variable173 backend_audio_info (& s_channels, & bitdepth, & s_samplerate); in audio_init()178 open_audio (FMT_S16_NE, s_samplerate, s_channels); in audio_init()180 s_bufsize = 2 * s_channels * (s_samplerate / 4); in audio_init()188 int total = 2 * s_channels * (int) round (seconds * s_samplerate); in audio_generate()
39 static const size_t s_samplerate = 44100; variable149 data[i] += envelope(trel) * wave((double)trel / s_samplerate * m_freq); in mix()267 g_delay / 1000.0 * g_sound_sustain * s_samplerate ); in SoundCallback()
273 r786 | added s_samplerate console var