Searched refs:new_random (Results 1 – 2 of 2) sorted by relevance
58 long new_random; in generate_pink_noise_sample() local83 new_random = ((long)generate_random_number()) >> PINK_RANDOM_SHIFT; in generate_pink_noise_sample()84 pink->pink_running_sum += new_random; in generate_pink_noise_sample()85 pink->pink_rows[num_zeros] = new_random; in generate_pink_noise_sample()89 new_random = ((long)generate_random_number()) >> PINK_RANDOM_SHIFT; in generate_pink_noise_sample()90 sum = pink->pink_running_sum + new_random; in generate_pink_noise_sample()
774 glong new_random; in gst_audio_test_src_generate_pink_noise_value() local797 new_random = 32768.0 - (65536.0 * (gulong) g_rand_int (src->gen) in gst_audio_test_src_generate_pink_noise_value()799 pink->running_sum += new_random; in gst_audio_test_src_generate_pink_noise_value()800 pink->rows[num_zeros] = new_random; in gst_audio_test_src_generate_pink_noise_value()804 new_random = 32768.0 - (65536.0 * (gulong) g_rand_int (src->gen) in gst_audio_test_src_generate_pink_noise_value()806 sum = pink->running_sum + new_random; in gst_audio_test_src_generate_pink_noise_value()