Updated the Capturing procotol in the Recording package target to pass captured audio as a file URL instead of data.

This commit is contained in:
2026-07-04 15:06:55 +02:00
parent 2fe240de1a
commit 6a0e7698a5
10 changed files with 116 additions and 119 deletions
@@ -19,7 +19,7 @@ public protocol Capturing: Sendable {
/// Stops the recording.
///
/// - Returns: The audio captured since the recording started.
func stop() async throws -> Data
/// - Returns: The location of the audio file captured since the recording started.
func stop() async throws -> URL
}