Skip to content

Commit

Permalink
Merge pull request #400 from arolleaguekeng/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
llfbandit authored Sep 19, 2024
2 parents bcbc9a7 + 461ce5e commit a6de25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion record/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if (await record.hasPermission()) {
// Start recording to file
await record.start(const RecordConfig(), path: 'aFullPath/myFile.m4a');
// ... or to stream
final stream = await record.startStream(const RecordConfig(AudioEncoder.pcm16bits));
final stream = await record.startStream(const RecordConfig(encoder: AudioEncoder.pcm16bits));
}
// Stop recording...
Expand Down

0 comments on commit a6de25f

Please sign in to comment.