Home
last modified time | relevance | path

Searched refs:SAMPLE_FREQ (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_good/tests/icles/
Dtest-accurate-seek.c32 #define SAMPLE_FREQ 44100 macro
60 return (guint64) ((1.0 * sample * GST_SECOND / SAMPLE_FREQ) + 0.5); in sample_to_nanotime()
66 return gst_util_uint64_scale_round (nanotime, SAMPLE_FREQ, GST_SECOND); in nanotime_to_sample()
124 "rate", G_TYPE_INT, SAMPLE_FREQ, "channels", G_TYPE_INT, 2, in generate_test_sound()
192 "rate", G_TYPE_INT, SAMPLE_FREQ, "channels", G_TYPE_INT, 2, NULL); in test_seek_FORMAT_TIME_by_sample()
276 test_samples = create_test_samples (SAMPLE_FREQ, SAMPLE_FREQ * 2, 5000); in main()
279 generate_test_sound ("test.wav", "wavenc", SAMPLE_FREQ * SECS); in main()
283 generate_test_sound ("test.flac", "flacenc", SAMPLE_FREQ * SECS); in main()
289 SAMPLE_FREQ * SECS); in main()
294 SAMPLE_FREQ * SECS); in main()
/third_party/alsa-lib/test/
Daudio_time.c87 #define SAMPLE_FREQ 48000 macro
88 #define PERIOD (SAMPLE_FREQ/TIMESTAMP_FREQ)
188 SAMPLE_FREQ, in main()
256 SAMPLE_FREQ, in main()
376 (long long)curr_count_c * 1000000000LL / SAMPLE_FREQ , in main()
378 (long long)curr_count_c * 1000000000LL / SAMPLE_FREQ - timestamp2ns(audio_tstamp_c) in main()
419 (long long)curr_count_p * 1000000000LL / SAMPLE_FREQ , in main()
421 (long long)curr_count_p * 1000000000LL / SAMPLE_FREQ - timestamp2ns(audio_tstamp_p) in main()