Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Sources/Core/Models/ServerEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ import MetaCodable
@CodedAs("output_audio_buffer.stopped")
case outputAudioBufferStopped(eventId: String, responseId: String)

/// Returned when the output audio buffer is cleared.
///
/// - Parameter eventId: The unique ID of the server event.
/// - Parameter responseId: The ID of the Response to which the output audio belongs.
@CodedAs("output_audio_buffer.cleared")
case outputAudioBufferCleared(eventId: String, responseId: String)

/// Returned when a new Response is created.
///
/// The first event of response creation, where the response is in an initial state of `inProgress`.
Expand Down Expand Up @@ -548,6 +555,7 @@ extension ServerEvent: Identifiable {
case let .inputAudioBufferTimeoutTriggered(id, _, _, _): id
case let .outputAudioBufferStarted(id, _): id
case let .outputAudioBufferStopped(id, _): id
case let .outputAudioBufferCleared(id, _): id
case let .responseCreated(id, _): id
case let .responseDone(id, _): id
case let .responseOutputItemAdded(id, _, _, _): id
Expand Down