Home | History | Annotate | Download | only in tests

Lines Matching defs:Providers

92     std::vector<SignalProvider> Providers;
140 // create providers for each track
141 Providers.resize(argc);
154 Providers[i].setChirp<float>(v[0], 0, v[1]/2, v[1], kSeconds);
156 Providers[i].setChirp<int16_t>(v[0], 0, v[1]/2, v[1], kSeconds);
158 Providers[i].setIncr(Pvalues);
169 Providers[i].setSine<float>(v[0], v[1], v[2], kSeconds);
171 Providers[i].setSine<int16_t>(v[0], v[1], v[2], kSeconds);
173 Providers[i].setIncr(Pvalues);
180 Providers[i].setFile<float>(argv[i]);
182 Providers[i].setFile<short>(argv[i]);
184 Providers[i].setIncr(Pvalues);
187 size_t nframes = (int64_t) Providers[i].getNumFrames() * outputSampleRate
188 / Providers[i].getSampleRate();
220 float f = AudioMixer::UNITY_GAIN_FLOAT / Providers.size(); // normalize volume by # tracks
224 for (size_t i = 0; i < Providers.size(); ++i) {
225 //printf("track %d out of %d\n", i, Providers.size());
226 uint32_t channelMask = audio_channel_out_mask_from_count(Providers[i].getNumChannels());
231 mixer->setBufferProvider(name, &Providers[i]);
258 (void *)(uintptr_t)Providers[i].getSampleRate());