blob: 0844f6b069ad881f53c727722fd3b3c0f82eb5d1 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.audio;
using zx;
/// Watches for a delay to change.
closed protocol DelayWatcher {
/// The first call returns immediately with the current delay, if known.
/// Subsequent calls block until the delay changes. There can be at most one
/// outstanding call, otherwise the channel may be closed.
strict WatchDelay(table {}) -> (table {
/// Optional. If not specified, the delay is unknown.
1: delay zx.Duration;
});
};