Home | History | Annotate | Download | only in audio

Lines Matching refs:samples

5 // Software adjust volume of samples, allows each audio stream its own
53 // The minimum number of samples in a hardware packet.
57 // The maximum number of samples in a hardware packet.
63 // This value is selected so that we have 8192 samples for 48khz streams.
66 // Select the number of samples that can provide at least
68 size_t samples = kMinSamplesPerHardwarePacket;
69 while (samples <= kMaxSamplesPerHardwarePacket &&
70 samples * base::Time::kMillisecondsPerSecond <
72 samples *= 2;
74 return samples;