Skip to content

Commit 3923f80

Browse files
committed
TAU : Version 9.4.6
1 parent 72fc894 commit 3923f80

File tree

18 files changed

+46
-47
lines changed

18 files changed

+46
-47
lines changed

.github/workflows/stale.yml

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Mark stale issues and pull requests
22

3-
on:
4-
schedule:
5-
- cron: "0 0 * * *"
6-
73
jobs:
84
stale:
95

doc/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ permalink: changelog.html
77
summary: The Changelog of The τ Project.
88
toc: false
99
---
10+
## 9.4.6
11+
12+
- Fixes some warning inside the example 'LivePlaybackWithoutBackPressure'
13+
1014
## 9.4.5
1115

1216
- Debug traces from iOS FlutterSoundRecorder had an incorrect parameter. Merge PR [980](https://github.com/Canardoux/flutter_sound/pull/980)
@@ -24,7 +28,6 @@ toc: false
2428
- Add the parameter "enableVoiceParameter" to the verb "StartPlayerFromMic()"
2529
- Add the parameter "enableVoiceParameter" to the verb "StartRecorderFromStream"
2630

27-
2831
## 9.3.8
2932

3033
- closePlayer() and closeRecorder was awaiting instead of returning a Future<void>

doc/_data/sidebars/mydoc_sidebar.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
entries:
44
- title: sidebar
55
product: Flutter Sound
6-
version: 9.4.5
6+
version: 9.4.6
77
folders:
88

99
- title:

flutter_sound/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 9.4.5
1+
## 9.4.6
22

33
- ## The [CHANGELOG file is here](https://flutter-sound.canardoux.xyz/changelog.html)
44

flutter_sound/android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
group 'xyz.canardoux.fluttersound'
3-
version '9.4.5'
3+
version '9.4.6'
44

55
buildscript {
66
repositories {
@@ -58,7 +58,7 @@ dependencies {
5858
// CAUTION: The following instruction is for developping and debugging the Flauto Engine
5959
// DO NOT INCLUDE THE FOLLOWING LINE IN A REAL APP !!!
6060
//implementation project(':flutter_sound_core')
61-
implementation 'com.github.canardoux:flutter_sound_core:9.4.5'
61+
implementation 'com.github.canardoux:flutter_sound_core:9.4.6'
6262
// -------------------------------------------------------------------------------------
6363

6464
}

flutter_sound/example/lib/livePlaybackWithoutBackPressure/live_playback_without_back_pressure.dart

+15-15
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class LivePlaybackWithoutBackPressure extends StatefulWidget {
6363

6464
class _LivePlaybackWithoutBackPressureState
6565
extends State<LivePlaybackWithoutBackPressure> {
66-
FlutterSoundPlayer _mPlayer = FlutterSoundPlayer();
66+
final FlutterSoundPlayer _mPlayer = FlutterSoundPlayer();
6767
bool _mPlayerIsInited = false;
6868
double _mSpeed = 100.0;
6969

@@ -72,7 +72,7 @@ class _LivePlaybackWithoutBackPressureState
7272
super.initState();
7373
// Be careful : openAudioSession return a Future.
7474
// Do not access your FlutterSoundPlayer or FlutterSoundRecorder before the completion of the Future
75-
_mPlayer!.openPlayer().then((value) {
75+
_mPlayer.openPlayer().then((value) {
7676
setState(() {
7777
_mPlayerIsInited = true;
7878
});
@@ -82,7 +82,7 @@ class _LivePlaybackWithoutBackPressureState
8282
@override
8383
void dispose() {
8484
stopPlayer();
85-
_mPlayer!.closePlayer();
85+
_mPlayer.closePlayer();
8686
super.dispose();
8787
}
8888

@@ -100,8 +100,8 @@ class _LivePlaybackWithoutBackPressureState
100100
}
101101

102102
void play() async {
103-
assert(_mPlayerIsInited && _mPlayer!.isStopped);
104-
await _mPlayer!.startPlayerFromStream(
103+
assert(_mPlayerIsInited && _mPlayer.isStopped);
104+
await _mPlayer.startPlayerFromStream(
105105
codec: Codec.pcm16,
106106
numChannels: 1,
107107
sampleRate: tSampleRate,
@@ -110,13 +110,13 @@ class _LivePlaybackWithoutBackPressureState
110110
setState(() {});
111111
var data = await getAssetData('assets/samples/sample.pcm');
112112
feedHim(data);
113-
if (_mPlayer != null) {
113+
//if (_mPlayer != null) {
114114
// We must not do stopPlayer() directely //await stopPlayer();
115-
_mPlayer!.foodSink!.add(FoodEvent(() async {
116-
await _mPlayer!.stopPlayer();
115+
_mPlayer.foodSink!.add(FoodEvent(() async {
116+
await _mPlayer.stopPlayer();
117117
setState(() {});
118118
}));
119-
}
119+
//}
120120
}
121121

122122
// --------------------- (it was very simple, wasn't it ?) -------------------
@@ -127,9 +127,9 @@ class _LivePlaybackWithoutBackPressureState
127127
}
128128

129129
Future<void> stopPlayer() async {
130-
if (_mPlayer != null) {
131-
await _mPlayer!.stopPlayer();
132-
}
130+
//if (_mPlayer != null) {
131+
await _mPlayer.stopPlayer();
132+
//}
133133
}
134134

135135

@@ -148,7 +148,7 @@ class _LivePlaybackWithoutBackPressureState
148148
if (!_mPlayerIsInited) {
149149
return null;
150150
}
151-
return _mPlayer!.isStopped
151+
return _mPlayer.isStopped
152152
? play
153153
: () {
154154
stopPlayer().then((value) => setState(() {}));
@@ -180,12 +180,12 @@ class _LivePlaybackWithoutBackPressureState
180180
onPressed: getPlaybackFn(),
181181
//color: Colors.white,
182182
//disabledColor: Colors.grey,
183-
child: Text(_mPlayer!.isPlaying ? 'Stop' : 'Play'),
183+
child: Text(_mPlayer.isPlaying ? 'Stop' : 'Play'),
184184
),
185185
const SizedBox(
186186
width: 20,
187187
),
188-
Text(_mPlayer!.isPlaying
188+
Text(_mPlayer.isPlaying
189189
? 'Playback in progress'
190190
: 'Player is stopped'),
191191
]),

flutter_sound/example/pubspec.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Driver for the various Flutter Sound examples
77
# Both the version and the builder number may be overridden in flutter
88
# build by specifying --build-name and --build-number, respectively.
99
# Read more about versioning at semver.org.
10-
version: 9.4.5
10+
version: 9.4.6
1111

1212
homepage: https://github.com/canardoux/flutter_sound/blob/master/flutter_sound/
1313

@@ -35,15 +35,15 @@ dependencies:
3535
# ============================================================================
3636
# The following instructions are just for developing/debugging Flutter Sound
3737
# Do not put them in a real App
38-
flutter_sound_platform_interface: 9.4.5
38+
flutter_sound_platform_interface: 9.4.6
3939
# path: ../../flutter_sound_platform_interface
40-
# flutter_sound_web: 9.4.5
40+
# flutter_sound_web: 9.4.6
4141
# path: ../../flutter_sound_web # flutter_sound_web Dir
42-
flutter_sound: ^9.4.5
42+
flutter_sound: ^9.4.6
4343
# path: ../ # Flutter Sound Dir
4444
# ============================================================================
4545

46-
# flutter_sound_platform_interface: ^9.4.5
46+
# flutter_sound_platform_interface: ^9.4.6
4747

4848
path_provider: ^2.0.2
4949
permission_handler: ^11.3.0

flutter_sound/ios/flutter_sound.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'flutter_sound'
6-
s.version = '9.4.5'
6+
s.version = '9.4.6'
77
s.summary = 'Flutter plugin that relates to sound like audio and recorder.'
88
s.description = <<-DESC
99
Flutter plugin that relates to sound like audio and recorder.
@@ -18,5 +18,5 @@ Flutter plugin that relates to sound like audio and recorder.
1818

1919
s.ios.deployment_target = '10.0'
2020
s.static_framework = true
21-
s.dependency 'flutter_sound_core', '9.4.5'
21+
s.dependency 'flutter_sound_core', '9.4.6'
2222
end

flutter_sound/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flutter_sound
2-
version: 9.4.5
2+
version: 9.4.6
33
description: 'Europe Stand With Ukraine. Pray for Ukraine. A complete api for audio playback and recording. Audio player, audio recorder.'
44
#author: canardoux<larpoux@gmail.com>
55
homepage: https://flutter-sound.canardoux.xyz/readme.html
@@ -20,9 +20,9 @@ dependencies:
2020
flutter:
2121
sdk: flutter
2222
# ============================================================================
23-
flutter_sound_platform_interface: 9.4.5
23+
flutter_sound_platform_interface: 9.4.6
2424
# path: ../flutter_sound_platform_interface # Flutter Sound Dir
25-
flutter_sound_web: 9.4.5
25+
flutter_sound_web: 9.4.6
2626
# path: ../flutter_sound_web # Flutter Sound Dir
2727
# ============================================================================
2828

flutter_sound_platform_interface/.dart_tool/package_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
"languageVersion": "3.3"
291291
}
292292
],
293-
"generated": "2024-03-08T10:44:41.257451Z",
293+
"generated": "2024-03-08T15:03:04.602141Z",
294294
"generator": "pub",
295295
"generatorVersion": "3.3.0"
296296
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 9.4.5
1+
## 9.4.6
22

33
- Please [look to this](https://flutter-sound.canardoux.xyz/changelog.html)
44

flutter_sound_platform_interface/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flutter_sound_platform_interface
2-
version: 9.4.5
2+
version: 9.4.6
33
description: The Dart interface to Flutter Sound.
44
#author: canardoux<larpoux@gmail.com>
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a

flutter_sound_web/.dart_tool/package_config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"name": "flutter_sound_platform_interface",
48-
"rootUri": "file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.5",
48+
"rootUri": "file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.6",
4949
"packageUri": "lib/",
5050
"languageVersion": "3.3"
5151
},
@@ -182,7 +182,7 @@
182182
"languageVersion": "3.3"
183183
}
184184
],
185-
"generated": "2024-03-08T10:44:51.164109Z",
185+
"generated": "2024-03-08T15:03:14.559407Z",
186186
"generator": "pub",
187187
"generatorVersion": "3.3.0"
188188
}

flutter_sound_web/.dart_tool/package_config_subset

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/fake_async-1.3.1/
2424
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/
2525
flutter_sound_platform_interface
2626
3.3
27-
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.5/
28-
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.5/lib/
27+
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.6/
28+
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/flutter_sound_platform_interface-9.4.6/lib/
2929
js
3030
3.1
3131
file:///Volumes/mac-J/larpoux/.pub-cache/hosted/pub.dev/js-0.7.1/

flutter_sound_web/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 9.4.5
1+
## 9.4.6
22

33
- Please [look to this](https://flutter-sound.canardoux.xyz/changelog.html)
44

flutter_sound_web/ios/flutter_sound_web.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'flutter_sound_web'
6-
s.version = '9.4.5'
6+
s.version = '9.4.6'
77
s.summary = 'No-op implementation of flutter_sound_web web plugin to avoid build issues on iOS'
88
s.description = <<-DESC
99
temp fake flutter_sound_web plugin

flutter_sound_web/pubspec.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ packages:
5858
dependency: "direct main"
5959
description:
6060
name: flutter_sound_platform_interface
61-
sha256: "759e41798a6eaa993bdac98c18764bfed3b7df2362c30fcee98f8b51f0e69eee"
61+
sha256: "5c5d92b481562168c2d80269dd98c1bf38ee09e45990c77d33ee8a84f4cd4860"
6262
url: "https://pub.dev"
6363
source: hosted
64-
version: "9.4.5"
64+
version: "9.4.6"
6565
flutter_test:
6666
dependency: "direct dev"
6767
description: flutter

flutter_sound_web/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flutter_sound_web
2-
version: 9.4.5
2+
version: 9.4.6
33
description: Flutter plugin that relates to sound like audio and recorder.
44
#author: canardoux<larpoux@gmail.com>
55
homepage: https://flutter-sound.canardoux.xyz/
@@ -28,7 +28,7 @@ flutter:
2828

2929

3030
dependencies:
31-
flutter_sound_platform_interface: 9.4.5
31+
flutter_sound_platform_interface: 9.4.6
3232
# path: ../flutter_sound_platform_interface # Flutter Sound Dir
3333
flutter:
3434
sdk: flutter

0 commit comments

Comments
 (0)