mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-20 18:55:10 +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 _audioRecorder = AudioRecorder();
|
||||||
final List<double> amplitudeTimeline = [];
|
final List<double> amplitudeTimeline = [];
|
||||||
|
|
||||||
static const int bitRate =
|
|
||||||
64000; // Lower makes the audio messages unplayable on iOS for some reason
|
|
||||||
|
|
||||||
Future<void> startRecording() async {
|
Future<void> startRecording() async {
|
||||||
try {
|
try {
|
||||||
// We try to pick Opus where supported, since that is a codec optimized
|
// We try to pick Opus where supported, since that is a codec optimized
|
||||||
|
@ -60,7 +57,6 @@ class RecordingDialogState extends State<RecordingDialog> {
|
||||||
autoGain: true,
|
autoGain: true,
|
||||||
noiseSuppress: true,
|
noiseSuppress: true,
|
||||||
echoCancel: true,
|
echoCancel: true,
|
||||||
bitRate: bitRate,
|
|
||||||
),
|
),
|
||||||
path: path,
|
path: path,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue