From 068d86ef13461c313e29d8df926610d77b04da76 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 10 Oct 2026 15:44:04 +0800 Subject: [PATCH] Sound (Linux): updates comments --- src/detection/sound/sound_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/detection/sound/sound_linux.c b/src/detection/sound/sound_linux.c index 600975349..18c9d46c8 100644 --- a/src/detection/sound/sound_linux.c +++ b/src/detection/sound/sound_linux.c @@ -27,9 +27,9 @@ // of control packets always uses the channel 0xFFFFFFFF with a zero offset and // flag word. // -// See doc/pulseaudio-native-protocol.md for the byte level details, for the -// command numbers and for the pulseaudio source references they were derived -// from. +// The command numbers, the tag characters and the field orders below are the ones in pulseaudio's +// own sources -- pulsecore/native-common.h, pulsecore/tagstruct.{c,h} and +// pulsecore/protocol-native.c -- and the place each of them was read from is named where it is used. typedef enum FFSoundPulseCommand : uint32_t { FF_SOUND_PA_COMMAND_ERROR = 0,