MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / append_bytes

Function append_bytes

src/models/pocket_tts/assets.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 int mimi_encoder_upsample_stride = 16;
48};
49
50void append_bytes(std::vector<unsigned char> & out, const void * data, size_t size) {
51 if (size == 0) {
52 return;
53 }
54 const auto * bytes = static_cast<const unsigned char *>(data);
55 out.insert(out.end(), bytes, bytes + size);
56}
57
58std::vector<unsigned char> make_i64_bytes(int64_t value) {

Callers 3

make_i64_bytesFunction · 0.85
save_voice_state_assetsFunction · 0.85
encode_pcm16_wavFunction · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected