/third_party/libsnd/examples/ |
D | make_sine.c | 44 #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/ |
D | ogg_test.c | 36 #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()
|
D | ogg_opus_test.c | 36 #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()
|
D | checksum_test.c | 30 #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()
|
D | compression_size_test.c | 37 #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()
|
D | long_read_write_test.c | 39 #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()
|
D | fix_this.c | 37 #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()
|
D | lossy_comp_test.c | 39 #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 …]
|
D | floating_point_test.tpl | 39 #define SAMPLE_RATE 16000 214 sfinfo.samplerate = SAMPLE_RATE ; 267 sfinfo.samplerate = SAMPLE_RATE ; 325 sfinfo.samplerate = SAMPLE_RATE ;
|
/third_party/pulseaudio/src/tests/ |
D | alsa-time-test.c | 13 #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/ |
D | VibratroEffect.h | 24 DelayLineEffect<iter_type>(0, 1, 0, 1, depth_ms * SAMPLE_RATE / 1000, in VibratoEffect() 25 SineWave {frequency, 1, SAMPLE_RATE}) { } in VibratoEffect()
|
D | FlangerEffect.h | 26 DelayLineEffect<iter_type>(feedback, feedback, feedback, 0, depth_ms * SAMPLE_RATE / 1000, in FlangerEffect() 27 SineWave {frequency, 1, SAMPLE_RATE}) { } in FlangerEffect()
|
D | DoublingEffect.h | 28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in DoublingEffect() 29 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in DoublingEffect()
|
D | WhiteChorusEffect.h | 27 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect() 28 static_cast<int>(depth_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
|
D | SlapbackEffect.h | 25 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in SlapbackEffect()
|
D | EchoEffect.h | 28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in EchoEffect()
|
D | Effects.h | 22 static int SAMPLE_RATE = 48000; variable
|
D | TremoloEffect.h | 27 kSignal {SineWave{frequency, height, SAMPLE_RATE}} { } in TremoloEffect()
|
/third_party/libsnd/src/G72x/ |
D | g72x_test.c | 39 #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/ |
D | DuplexEngine.cpp | 35 SAMPLE_RATE = inStream->getSampleRate(); in beginStreams()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | compress_fragment_two_pass.c | 522 #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/ |
D | compress_fragment_two_pass.c | 522 #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/ |
D | deinterleave.c | 418 #define SAMPLE_RATE 44100 macro 479 "rate", G_TYPE_INT, SAMPLE_RATE, NULL); in src_event_probe()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpg726depay.c | 42 #define SAMPLE_RATE 8000 macro
|
/third_party/gstreamer/gstplugins_good/gst/dtmf/ |
D | gstrtpdtmfdepay.c | 63 #define SAMPLE_RATE 8000 macro
|