MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / int16Samples

Function int16Samples

tests/tx_mic_channel_normalizer_test.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47std::vector<int16_t> int16Samples(const QByteArray& bytes)
48{
49 std::vector<int16_t> samples(bytes.size() / static_cast<int>(sizeof(int16_t)));
50 std::memcpy(samples.data(), bytes.constData(), bytes.size());
51 return samples;
52}
53
54QByteArray floatBytes(const std::vector<float>& samples)
55{

Callers 1

samplesEqualFunction · 0.85

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected