HomeSort by relevance Sort by last modified time
    Searched full:wave_r (Results 1 - 1 of 1) sorted by null

  /external/chromium_org/ppapi/examples/audio/
audio.cc 86 double wave_r = audio_wave_r_; local
91 *buf++ = static_cast<int16_t>(sin(wave_r) * max_int16);
96 wave_r += delta_r;
97 if (wave_r > 2.0 * M_PI)
98 wave_r -= 2.0 * M_PI;
102 audio_wave_r_ = wave_r;

Completed in 378 milliseconds