| // 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.mixer; |
| |
| using zx; |
| |
| /// Options for [`Graph.CreateThread`]. |
| type CreateThreadOptions = resource table { |
| /// Name of this thread, used for diagnostics only. See "IDs and names" in the |
| /// comments for [`Graph`]. |
| /// |
| /// Optional. Empty if not specified. |
| 1: name string:MAX_NAME_LENGTH; |
| |
| /// Deadline profile to apply to this thread. |
| /// |
| /// Optional. If not specified, the thread runs at a normal priority. |
| 2: deadline_profile zx.handle:PROFILE; |
| }; |