You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2017/01/27 01:46:04 UTC
cordova-plugin-media git commit: CB-1187: (iOS) Fix unused recording
settings
Repository: cordova-plugin-media
Updated Branches:
refs/heads/master 3045bca2d -> cd2f95b3f
CB-1187: (iOS) Fix unused recording settings
This closes #116
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/cd2f95b3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/cd2f95b3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/cd2f95b3
Branch: refs/heads/master
Commit: cd2f95b3f3050588e941e191813e28222e720361
Parents: 3045bca
Author: ghenry22 <gh...@gmail.com>
Authored: Wed Sep 7 09:37:59 2016 +0800
Committer: Shazron Abdullah <sh...@gmail.com>
Committed: Thu Jan 26 17:45:59 2017 -0800
----------------------------------------------------------------------
src/ios/CDVSound.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/cd2f95b3/src/ios/CDVSound.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m
index 97f5d6e..8666843 100644
--- a/src/ios/CDVSound.m
+++ b/src/ios/CDVSound.m
@@ -691,7 +691,7 @@
AVNumberOfChannelsKey: @(1),
AVEncoderAudioQualityKey: @(AVAudioQualityMedium)
};
- audioFile.recorder = [[CDVAudioRecorder alloc] initWithURL:audioFile.resourceURL settings:nil error:&error];
+ audioFile.recorder = [[CDVAudioRecorder alloc] initWithURL:audioFile.resourceURL settings:audioSettings error:&error];
bool recordingSuccess = NO;
if (error == nil) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org