Home
last modified time | relevance | path

Searched refs:num_samples (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish_common/host/frontend/stream_audio/opuscpp/
Dopus_wrapper.cc156 auto num_samples = opus_decode(decoder_.get(), packet.data(), packet.size(), in Decode() local
158 if (num_samples < 0) { in Decode()
159 LOG(ERROR) << "Decode error: " << opus::ErrorToString(num_samples); in Decode()
162 decoded.resize(num_samples * num_channels_); in Decode()
169 auto num_samples = in DecodeDummy() local
171 if (num_samples < 0) { in DecodeDummy()
172 LOG(ERROR) << "Decode error: " << opus::ErrorToString(num_samples); in DecodeDummy()
175 decoded.resize(num_samples * num_channels_); in DecodeDummy()
/device/google/contexthub/util/nanotool/
Dsensorevent.cpp175 uint8_t num_samples = GetNumSamples(); in ToString() local
181 num_samples, (num_samples != 1) ? "s" : ""); in ToString()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c189 size_t i, w, n, num_samples; in fillSamples() local
213 num_samples = ev->samples[0].firstSample.numSamples; in fillSamples()
218 num_samples = ev->samples[0].firstSample.numSamples + 1; in fillSamples()
222 while (num_samples > 1) { in fillSamples()
238 num_samples--; in fillSamples()