cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omefire <...@git.apache.org>
Subject [GitHub] cordova-plugin-media pull request: CB-10723: iOS audio should use ...
Date Wed, 09 Mar 2016 19:52:27 GMT
Github user omefire commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-media/pull/85#discussion_r55578144
  
    --- Diff: src/ios/CDVSound.m ---
    @@ -216,14 +216,14 @@ - (void)create:(CDVInvokedUrlCommand*)command
         NSString* mediaId = [command argumentAtIndex:0];
         NSString* resourcePath = [command argumentAtIndex:1];
     
    -    CDVAudioFile* audioFile = [self audioFileForResource:resourcePath withId:mediaId
doValidation:NO forRecording:NO];
    +    CDVAudioFile* audioFile = [self audioFileForResource:resourcePath withId:mediaId
doValidation:YES forRecording:NO];
    --- End diff --
    
    What's the reason we aren't doing validation anymore ? This leads to this code being skipped:
https://github.com/gaelenh/cordova-plugin-media/blob/ios-no-audio-playback/src/ios/CDVSound.m#L160


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message