File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1919
2020/// EmblaCore library
2121
22- library embla_core;
23-
2422export 'package:embla_core/src/session.dart' show EmblaSession, EmblaSessionState;
2523export 'package:embla_core/src/config.dart' show EmblaSessionConfig;
2624export 'package:embla_core/src/api.dart' show EmblaAPI;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class AudioRecorder {
8989 // Create recording stream
9090 _recordingDataController = StreamController <Uint8List >();
9191 _recordingDataSubscription = _recordingDataController? .stream.listen ((buffer) {
92- if (buffer is Uint8List && buffer != null ) {
92+ if (buffer is Uint8List ) {
9393 final data = buffer;
9494 _totalAudioDataSize += data.lengthInBytes;
9595 _totalAudioDuration = _totalAudioDataSize / (kAudioSampleRate * 2 );
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ dependencies:
2121 flutter_sound : ' ^9.24.5'
2222 # flutter_soundfork: '^1.0.1'
2323 # path: ../flutter_soundfork/flutter_soundfork
24- audio_session : ' >= 0.1.25'
25- web_socket_channel : ' >=2.4.5 '
24+ audio_session : ' 0.1.25'
25+ web_socket_channel : ' ^3.0.0 '
2626 http : ' ^1.2.2'
27- mp3_info : ' >= 0.2.1'
27+ mp3_info : ' ^ 0.2.1'
2828
2929dev_dependencies :
3030 flutter_test :
You can’t perform that action at this time.
0 commit comments