MCPcopy Create free account
hub / github.com/78/tenbox / SetPcmHandler

Method SetPcmHandler

src/runtime/runtime_service.cpp:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void ManagedAudioPort::SetPcmHandler(std::function<void(AudioChunk)> handler) {
221 std::lock_guard<std::mutex> lock(mutex_);
222 pcm_handler_ = std::move(handler);
223}
224
225std::string EncodeHex(const uint8_t* data, size_t size) {
226 static constexpr char kDigits[] = "0123456789abcdef";

Callers 1

RuntimeControlServiceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected