<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PHASE",
  "identifier" : "/documentation/PHASE/PHASEPushStreamBufferOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:@E@PHASEPushStreamBufferOptions"
  },
  "title" : "PHASEPushStreamBufferOptions"
}
-->

# PHASEPushStreamBufferOptions

Options that inform PHASE of an audio-stream buffer’s playback priority.

```
struct PHASEPushStreamBufferOptions
```

## Overview

When your app provides audio buffers that PHASE plays through a [`PHASEPushStreamNode`](/documentation/PHASE/PHASEPushStreamNode), use this structure to inform PHASE of a particular buffer’s priority.

Associate an option to a particular buffer by passing it in to the [`scheduleBuffer(buffer:time:options:)`](/documentation/PHASE/PHASEPushStreamNode/scheduleBuffer(buffer:time:options:)) function of a [`PHASEPushStreamNode`](/documentation/PHASE/PHASEPushStreamNode).

## Topics

### Creating an Option

[`init(rawValue: UInt)`](/documentation/PHASE/PHASEPushStreamBufferOptions/init(rawValue:))

Creates a push stream buffer option with the given raw value.

### Options

[`static var `default`: PHASEPushStreamBufferOptions`](/documentation/PHASE/PHASEPushStreamBufferOptions/default)

Indicates a buffer processes after existing buffers in the queue.

[`static var interrupts: PHASEPushStreamBufferOptions`](/documentation/PHASE/PHASEPushStreamBufferOptions/interrupts)

Indicates a buffer begins processing immediately.

[`static var interruptsAtLoop: PHASEPushStreamBufferOptions`](/documentation/PHASE/PHASEPushStreamBufferOptions/interruptsAtLoop)

Indicates a buffer begins processing when an existing buffer loops.

[`static var loops: PHASEPushStreamBufferOptions`](/documentation/PHASE/PHASEPushStreamBufferOptions/loops)

Indicates a buffer restarts after it finishes processing.

## Relationships

### Conforms To

[`OptionSet`](/documentation/Swift/OptionSet)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Sendable`](/documentation/Swift/Sendable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)