]> git.sesse.net Git - nageru/blobdiff - nageru/state.proto
Support delaying audio sources selectively.
[nageru] / nageru / state.proto
index 6372e61b5cc4b22575888c47c3f38cc91324649e..a7df37c7bf8767c4766e6f43fbdc0ce7cd30ad9a 100644 (file)
@@ -18,6 +18,11 @@ message DeviceSpecProto {
        optional string alsa_info = 5;  // Only for ALSA devices.
        optional int32 num_channels = 6;  // Only for ALSA devices.
        optional string address = 7;  // Only for ALSA devices.
+
+       // This isn't strictly part of the _mapping_, but it fits in fairly naturally.
+       // Positive means the audio is delayed, negative means we try to have it earlier
+       // (although we can't time-travel!).
+       optional float extra_delay_ms = 8;
 }
 
 // Corresponds to InputMapping::Bus.