import Foundation /// The recording service used for development, which simulates the audio capture without touching a microphone. /// /// The service is internal on purpose: it only backs the feature's previews and the default values of its model, and is not part of the /// package's public interface. struct DummyCapturing: Capturing { // MARK: Methods /// Simulates the start of an audio recording. func start() async throws {} /// Simulates the pause of an ongoing recording. func pause() async throws {} /// Simulates the resumption of a paused recording. func resume() async throws {} /// Simulates the stop of a recording. /// /// - Returns: An empty audio payload. func stop() async throws -> Data { .init() } }