@akylas/nativescript-audio
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -72,4 +72,4 @@ import { check, request } from '@nativescript-community/perms'; | ||
else if (this._wavrecorder) { | ||
this._wavrecorder.waveConfig.sampleRate = options.sampleRate || 44100; | ||
this._wavrecorder.waveConfig.channels = options.channels === 1 ? android.media.AudioFormat.CHANNEL_IN_MONO : 2; | ||
this._wavrecorder.waveConfig.sampleRate = options.sampleRate || 16000; | ||
this._wavrecorder.waveConfig.channels = options.channels === 1 ? android.media.AudioFormat.CHANNEL_IN_MONO : android.media.AudioFormat.CHANNEL_IN_STEREO; | ||
this._wavrecorder.waveConfig.audioEncoding = options.encoder === ANDROID_ENCODER_PCM_16 ? android.media.AudioFormat.ENCODING_PCM_16BIT : android.media.AudioFormat.ENCODING_PCM_8BIT; | ||
@@ -76,0 +76,0 @@ this._wavrecorder.startRecording(); |
@@ -6,2 +6,10 @@ # Change Log | ||
## [6.3.1](https://github.com/farfromrefug/nativescript-audio/compare/v6.3.0...v6.3.1) (2022-10-05) | ||
**Note:** Version bump only for package @akylas/nativescript-audio | ||
# [6.3.0](https://github.com/farfromrefug/nativescript-audio/compare/v6.2.11...v6.3.0) (2022-09-16) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@akylas/nativescript-audio", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "NativeScript plugin to record and play audio.", | ||
@@ -95,3 +95,3 @@ "main": "./index", | ||
}, | ||
"gitHead": "3740013de42ee411c2b6bf2d85379ffd2d01e69b" | ||
"gitHead": "add0ae5d9c93eb2ada01cdad8569e766b598fc13" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81310