Skip to content

Commit

Permalink
Improve Recorder example
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCulbertson authored Oct 27, 2023
1 parent 28f6f35 commit d03d124
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class RecorderConductor: ObservableObject, HasAudioEngine {

if data.isPlaying {
if let file = recorder?.audioFile {
player.file = file
try? player.load(file: file)
player.play()
}
} else {
Expand Down

0 comments on commit d03d124

Please sign in to comment.