Implemented the resumed interrupted recordings and allowed processing discards on the RecordingViewModel view model in the Recording package target.
This commit is contained in:
@@ -4,6 +4,8 @@ import Recording
|
||||
/// A transcribing service with a configurable delay, output, and failure.
|
||||
@MainActor
|
||||
final class TranscribingMock: Transcribing {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
/// The duration of the simulated transcription work.
|
||||
var delay: Duration = .seconds(0.2)
|
||||
@@ -13,6 +15,8 @@ final class TranscribingMock: Transcribing {
|
||||
|
||||
/// The transcription the service returns.
|
||||
var transcription = "This is a mocked transcription."
|
||||
|
||||
// MARK: Methods
|
||||
|
||||
func callAsFunction(
|
||||
_ audio: URL,
|
||||
|
||||
Reference in New Issue
Block a user