mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 11:13:54 +00:00
chore: Remove custom bitrate
This commit is contained in:
parent
6718104731
commit
a9eb76983b
1 changed files with 0 additions and 4 deletions
|
@ -31,9 +31,6 @@ class RecordingDialogState extends State<RecordingDialog> {
|
|||
final _audioRecorder = AudioRecorder();
|
||||
final List<double> amplitudeTimeline = [];
|
||||
|
||||
static const int bitRate =
|
||||
64000; // Lower makes the audio messages unplayable on iOS for some reason
|
||||
|
||||
Future<void> startRecording() async {
|
||||
try {
|
||||
// We try to pick Opus where supported, since that is a codec optimized
|
||||
|
@ -60,7 +57,6 @@ class RecordingDialogState extends State<RecordingDialog> {
|
|||
autoGain: true,
|
||||
noiseSuppress: true,
|
||||
echoCancel: true,
|
||||
bitRate: bitRate,
|
||||
),
|
||||
path: path,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue