X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Faudio_mixer.h;fp=nageru%2Faudio_mixer.h;h=de6ff5414032a7f414d82b7195156c2921400a7c;hb=ff13a6a1cc56e97260c2be1ba0d29a435d46c1c3;hp=14e7e85d098065aabc5cd39d70ed5b31a8713041;hpb=d6e55865d7feccfc000c6187e285212fbfb8e9f7;p=nageru diff --git a/nageru/audio_mixer.h b/nageru/audio_mixer.h index 14e7e85..de6ff54 100644 --- a/nageru/audio_mixer.h +++ b/nageru/audio_mixer.h @@ -324,6 +324,10 @@ private: // Which channels we consider interesting (ie., are part of some input_mapping). std::set interesting_channels; bool silenced = false; + + // Positive means the audio is delayed, negative means we try to have it earlier + // (although we can't time-travel!). Stored together with the input mapping. + double extra_delay_ms = 0.0; }; const AudioDevice *find_audio_device(DeviceSpec device_spec) const