Home
last modified time | relevance | path

Searched refs:SAMPLE_RATE (Results 1 – 25 of 28) sorted by relevance

12

/third_party/libsnd/examples/
Dmake_sine.c44 #define SAMPLE_RATE 44100 macro
45 #define SAMPLE_COUNT (SAMPLE_RATE * 4) /* 4 seconds */
47 #define LEFT_FREQ (344.0 / SAMPLE_RATE)
48 #define RIGHT_FREQ (466.0 / SAMPLE_RATE)
64 sfinfo.samplerate = SAMPLE_RATE ; in main()
/third_party/libsnd/tests/
Dogg_test.c36 #define SAMPLE_RATE 44100 macro
37 #define DATA_LENGTH (SAMPLE_RATE / 8)
72 sfinfo.samplerate = SAMPLE_RATE ; in ogg_short_test()
130 sfinfo.samplerate = SAMPLE_RATE ; in ogg_int_test()
179 sfinfo.samplerate = SAMPLE_RATE ; in ogg_float_test()
228 sfinfo.samplerate = SAMPLE_RATE ; in ogg_double_test()
263 { static float data [SAMPLE_RATE] ; in ogg_stereo_seek_test()
264 static float stereo_out [SAMPLE_RATE * 2] ; in ogg_stereo_seek_test()
284 sfinfo.samplerate = SAMPLE_RATE ; in ogg_stereo_seek_test()
Dogg_opus_test.c36 #define SAMPLE_RATE 48000 macro
37 #define DATA_LENGTH (SAMPLE_RATE / 8)
72 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_short_test()
130 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_int_test()
179 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_float_test()
228 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_double_test()
263 { static float data [SAMPLE_RATE] ; in ogg_opus_stereo_seek_test()
264 static float stereo_out [SAMPLE_RATE * 2] ; in ogg_opus_stereo_seek_test()
284 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_stereo_seek_test()
350 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_original_samplerate_test()
Dchecksum_test.c30 #define SAMPLE_RATE 8000 macro
93 info.samplerate = SAMPLE_RATE ; in checksum_test()
108 info.samplerate = SAMPLE_RATE ; in checksum_test()
116 info.samplerate = SAMPLE_RATE ; in checksum_test()
Dcompression_size_test.c37 #define SAMPLE_RATE 16000 macro
38 #define DATA_LENGTH (SAMPLE_RATE)
65 sfinfo.samplerate = SAMPLE_RATE ; in vorbis_test()
137 sfinfo.samplerate = SAMPLE_RATE ; in compression_size_test()
Dlong_read_write_test.c39 #define SAMPLE_RATE 44010 macro
100 sfinfo.samplerate = SAMPLE_RATE ; in short_lrw_test()
146 sfinfo.samplerate = SAMPLE_RATE ; in int_lrw_test()
192 sfinfo.samplerate = SAMPLE_RATE ; in float_lrw_test()
238 sfinfo.samplerate = SAMPLE_RATE ; in double_lrw_test()
Dfix_this.c37 #define SAMPLE_RATE (11025) macro
101 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_int()
310 data [k] = amp * (0.4 * sin (33.3 * 2.0 * M_PI * ((double) (k + 1)) / ((double) SAMPLE_RATE)) in gen_signal_double()
311 + 0.3 * cos (201.1 * 2.0 * M_PI * ((double) (k + 1)) / ((double) SAMPLE_RATE))) ; in gen_signal_double()
Dlossy_comp_test.c39 #define SAMPLE_RATE 11025 macro
665 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_short()
862 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_int()
1049 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_float()
1243 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_double()
1439 sfinfo.samplerate = SAMPLE_RATE ; in sdlcomp_test_short()
1659 sfinfo.samplerate = SAMPLE_RATE ; in sdlcomp_test_int()
1903 sfinfo.samplerate = SAMPLE_RATE ; in sdlcomp_test_float()
2144 sfinfo.samplerate = SAMPLE_RATE ; in sdlcomp_test_double()
2362 sfinfo.samplerate = SAMPLE_RATE ; in read_raw_test()
[all …]
Dfloating_point_test.tpl39 #define SAMPLE_RATE 16000
214 sfinfo.samplerate = SAMPLE_RATE ;
267 sfinfo.samplerate = SAMPLE_RATE ;
325 sfinfo.samplerate = SAMPLE_RATE ;
/third_party/pulseaudio/src/tests/
Dalsa-time-test.c13 #define SAMPLE_RATE 44100 macro
29 unsigned rate = SAMPLE_RATE; in main()
31 snd_pcm_uframes_t boundary, buffer_size = SAMPLE_RATE/10; /* 100s */ in main()
220 pos = (unsigned long long) ((sample_count - handled - delay) * 1000000LU / SAMPLE_RATE); in main()
222 pos = (unsigned long long) ((sample_count - handled + delay) * 1000000LU / SAMPLE_RATE); in main()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/
DVibratroEffect.h24 DelayLineEffect<iter_type>(0, 1, 0, 1, depth_ms * SAMPLE_RATE / 1000, in VibratoEffect()
25 SineWave {frequency, 1, SAMPLE_RATE}) { } in VibratoEffect()
DFlangerEffect.h26 DelayLineEffect<iter_type>(feedback, feedback, feedback, 0, depth_ms * SAMPLE_RATE / 1000, in FlangerEffect()
27 SineWave {frequency, 1, SAMPLE_RATE}) { } in FlangerEffect()
DDoublingEffect.h28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in DoublingEffect()
29 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in DoublingEffect()
DWhiteChorusEffect.h27 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
28 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
DSlapbackEffect.h25 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in SlapbackEffect()
DEchoEffect.h28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in EchoEffect()
DEffects.h22 static int SAMPLE_RATE = 48000; variable
DTremoloEffect.h27 kSignal {SineWave{frequency, height, SAMPLE_RATE}} { } in TremoloEffect()
/third_party/libsnd/src/G72x/
Dg72x_test.c39 #define SAMPLE_RATE 11025 macro
166 gendata [k] = amp * (0.4 * sin (33.3 * 2.0 * M_PI * ((double) (k+1)) / ((double) SAMPLE_RATE)) in gen_signal_double()
167 + 0.3 * cos (201.1 * 2.0 * M_PI * ((double) (k+1)) / ((double) SAMPLE_RATE))) ; in gen_signal_double()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp35 SAMPLE_RATE = inStream->getSampleRate(); in beginStreams()
/third_party/skia/third_party/externals/brotli/c/enc/
Dcompress_fragment_two_pass.c522 #define SAMPLE_RATE 43 macro
531 const double max_total_bit_cost = corpus_size * 8 * MIN_RATIO / SAMPLE_RATE; in ShouldCompress()
533 for (i = 0; i < input_size; i += SAMPLE_RATE) { in ShouldCompress()
/third_party/node/deps/brotli/c/enc/
Dcompress_fragment_two_pass.c522 #define SAMPLE_RATE 43 macro
531 const double max_total_bit_cost = corpus_size * 8 * MIN_RATIO / SAMPLE_RATE; in ShouldCompress()
533 for (i = 0; i < input_size; i += SAMPLE_RATE) { in ShouldCompress()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Ddeinterleave.c418 #define SAMPLE_RATE 44100 macro
479 "rate", G_TYPE_INT, SAMPLE_RATE, NULL); in src_event_probe()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpg726depay.c42 #define SAMPLE_RATE 8000 macro
/third_party/gstreamer/gstplugins_good/gst/dtmf/
Dgstrtpdtmfdepay.c63 #define SAMPLE_RATE 8000 macro

12