MCPcopy Create free account
hub / github.com/FastLED/FastLED / updateBitrateDisplays

Function updateBitrateDisplays

src/platforms/wasm/compiler/app.ts:406–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404
405// Update bitrate display labels
406function updateBitrateDisplays() {
407 const videoBitrate = document.getElementById('video-bitrate');
408 const audioBitrate = document.getElementById('audio-bitrate');
409
410 if (videoBitrate && videoBitrate.nextElementSibling) {
411 videoBitrate.nextElementSibling.textContent = `${videoBitrate.value} Mbps`;
412 }
413 if (audioBitrate && audioBitrate.nextElementSibling) {
414 audioBitrate.nextElementSibling.textContent = `${audioBitrate.value} kbps`;
415 }
416}
417
418// Helper to add event listener with null check
419function addListener(id, event, handler) {

Callers 2

showVideoSettingsPopupFunction · 0.85
app.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected