@capgo/native-audio 6.0.7 → 6.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ buildscript {
11
11
  mavenCentral()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:8.0.1'
14
+ classpath 'com.android.tools.build:gradle:8.0.2'
15
15
  }
16
16
  }
17
17
 
@@ -34,6 +34,7 @@ public class AudioAsset: NSObject, AVAudioPlayerDelegate {
34
34
  let player: AVAudioPlayer! = try AVAudioPlayer(contentsOf: pathUrl)
35
35
 
36
36
  if player != nil {
37
+ player.enableRate = true
37
38
  player.volume = volume
38
39
  player.prepareToPlay()
39
40
  self.channels.append(player)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/native-audio",
3
- "version": "6.0.7",
3
+ "version": "6.0.9",
4
4
  "description": "A native plugin for native audio engine",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",