blob: b4d59ea4259f643c574aad4a52ff462a306bd5fd [file] [log] [blame]
// Copyright 2021 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.effects;
using zx;
/// A factory for creating processors.
@discoverable
closed protocol ProcessorCreator {
/// Create a new Processor and return it's ProcessorConfiguration.
///
/// + request `name` A string naming the processor to create. The meaning of this
/// name is up to the implementor.
/// - response `processor_configuration` Description of the new processor.
/// * error A zx.Status value indicating success or failure.
strict Create(struct {
name string:1024;
}) -> (resource struct {
processor_configuration ProcessorConfiguration;
}) error zx.Status;
};