Skip to content

Commit

Permalink
Public init for AudioRecordingInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Jul 15, 2024
1 parent e7ddb3d commit eb47810
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,10 @@ public struct AddedVoiceRecording: Identifiable, Equatable {
public let duration: TimeInterval
/// The waveform of the recording.
public let waveform: [Float]

public init(url: URL, duration: TimeInterval, waveform: [Float]) {
self.url = url
self.duration = duration
self.waveform = waveform
}
}

0 comments on commit eb47810

Please sign in to comment.