Remove unused constants and clean up stale comments

- Remove TOP_VFO_BTN_H and VFO_BTN_W (unused local consts, compiler warned)
- Consolidate duplicate comment block in AudioOutput.WriteDouble
- Clean up AudioOutput callback comment header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-26 19:38:20 +03:00
co-authored by Claude Sonnet 4.6
parent 1e7121f200
commit f09c36074f
2 changed files with 2 additions and 11 deletions
+2 -9
View File
@@ -186,10 +186,7 @@ const
PA_CONTINUE = LongInt(0);
PA_NO_DEV = TPaDeviceIndex(-1);
// ---------------------------------------------------------------------------
// Callback — точная копия pa_out_cb из оригинала
// ---------------------------------------------------------------------------
// Callback modeled after pa_out_cb from piHPSDR/portaudio.c
function PaOutCallback(inputBuffer, outputBuffer: Pointer;
framesPerBuffer: LongWord;
timeInfo: Pointer;
@@ -567,11 +564,7 @@ begin
end;
end;
// ---------------------------------------------------------------------------
// WriteDouble — точная копия audio_write() из оригинала
// ---------------------------------------------------------------------------
// WriteDouble — точная копия audio_write() из piHPSDR/portaudio.c
// WriteDouble — modeled after audio_write() from piHPSDR/portaudio.c
// Вызывается per-sample из Write. Мьютекс держится весь цикл в Write.
procedure TAudioOutput.WriteDouble(Left, Right: Double);
var