MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / encodeThread

Function encodeThread

src/audio.cpp:109–152  ·  view source on GitHub ↗

* @brief Encode captured PCM samples into Opus packets on the audio worker thread. * * @param samples Queue of captured PCM sample buffers to encode. * @param config Audio stream settings negotiated with the client. * @param channel_data Platform-specific audio capture context passed to packet metadata. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

map_streamFunction · 0.85
apply_surround_paramsFunction · 0.85
moveFunction · 0.85
fake_resizeMethod · 0.80
set_thread_nameFunction · 0.50
adjust_thread_priorityFunction · 0.50
getMethod · 0.45
popMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
stopMethod · 0.45
raiseMethod · 0.45

Tested by

no test coverage detected