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:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user