11 lines
275 B
Swift
11 lines
275 B
Swift
|
|
import Foundation
|
|
|
|
/// Protocol for handling audio output in different formats
|
|
public protocol AudioOutputHandler {
|
|
func handleAudioPacket(_ packet: AudioPacket)
|
|
func handleMetadata(_ metadata: AudioStreamMetadata)
|
|
func handleStreamStart()
|
|
func handleStreamStop()
|
|
}
|