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 19
19
20
20
/// EmblaCore library
21
21
22
- library embla_core;
23
-
24
22
export 'package:embla_core/src/session.dart' show EmblaSession, EmblaSessionState;
25
23
export 'package:embla_core/src/config.dart' show EmblaSessionConfig;
26
24
export 'package:embla_core/src/api.dart' show EmblaAPI;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class AudioRecorder {
89
89
// Create recording stream
90
90
_recordingDataController = StreamController <Uint8List >();
91
91
_recordingDataSubscription = _recordingDataController? .stream.listen ((buffer) {
92
- if (buffer is Uint8List && buffer != null ) {
92
+ if (buffer is Uint8List ) {
93
93
final data = buffer;
94
94
_totalAudioDataSize += data.lengthInBytes;
95
95
_totalAudioDuration = _totalAudioDataSize / (kAudioSampleRate * 2 );
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ dependencies:
21
21
flutter_sound : ' ^9.24.5'
22
22
# flutter_soundfork: '^1.0.1'
23
23
# 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 '
26
26
http : ' ^1.2.2'
27
- mp3_info : ' >= 0.2.1'
27
+ mp3_info : ' ^ 0.2.1'
28
28
29
29
dev_dependencies :
30
30
flutter_test :
You can’t perform that action at this time.
0 commit comments