Home
last modified time | relevance | path

Searched refs:SAMPLE_HZ (Results 1 - 4 of 4) sorted by relevance

/third_party/pulseaudio/src/tests/
H A Dextended-test.c38 #define SAMPLE_HZ 8000 macro
45 static float data[SAMPLE_HZ]; /* one second space */
50 .maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
130 pa_format_info_set_rate(formats[0], SAMPLE_HZ); in context_state_callback()
163 for (i = 0; i < SAMPLE_HZ; i++) in START_TEST()
164 data[i] = (float) sin(((double) i/SAMPLE_HZ)*2*M_PI*SINE_HZ)/2; in START_TEST()
H A Dsync-playback.c38 #define SAMPLE_HZ 8000 macro
45 static float data[SAMPLE_HZ]; /* one second space */
51 .rate = SAMPLE_HZ,
56 .maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
160 for (i = 0; i < SAMPLE_HZ; i++) in START_TEST()
161 data[i] = (float) sin(((double) i/SAMPLE_HZ)*2*M_PI*SINE_HZ)/2; in START_TEST()
H A Dlo-latency-test.c38 #define SAMPLE_HZ 44100 macro
40 #define N_OUT (SAMPLE_HZ * 1)
140 int i, pulse_hz = SAMPLE_HZ / 1000; in START_TEST()
145 test_ctx.sample_spec.rate = SAMPLE_HZ, in START_TEST()
H A Dconnect-stress.c51 #define SAMPLE_HZ 44100 macro
60 .rate = SAMPLE_HZ,
116 .maxlength = SAMPLE_HZ * sizeof(float) * NSTREAMS,

Completed in 2 milliseconds