MCPcopy Create free account
hub / github.com/bbc/audiowaveform / VectorAudioFileReader

Method VectorAudioFileReader

src/VectorAudioFileReader.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31//------------------------------------------------------------------------------
32
33VectorAudioFileReader::VectorAudioFileReader(
34 const std::vector<short>& samples,
35 int sample_rate,
36 int channels) :
37 samples_(samples),
38 sample_rate_(sample_rate),
39 channels_(channels)
40{
41}
42
43//------------------------------------------------------------------------------
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected