MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / ReadChunk

Function ReadChunk

modules/audio_processing/audio_processing_unittest.cc:330–351  ·  view source on GitHub ↗

Reads a 10 ms chunk of int16 interleaved audio from the given (assumed stereo) file, converts to deinterleaved float (optionally downmixing) and returns the result in |cb|. Returns false if the file ended (or on error) and true otherwise. |int_data| and |float_data| are just temporary space that must be sufficiently large to hold the 10 ms chunk.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessFormatMethod · 0.85

Calls 6

MixStereoToMonoFunction · 0.85
DeinterleaveFunction · 0.85
S16ToFloatFunction · 0.50
num_framesMethod · 0.45
num_channelsMethod · 0.45
channelsMethod · 0.45

Tested by

no test coverage detected