Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11817

audioSettings shows as unused variable and settings are not used when configuring a recorder

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: cordova-plugin-media
    • Labels:
    • Environment:

      iOS

      Description

      xcode shows up 2 warnings when building within CDVSound.m

      1) unused variable 'audioSettings'
      2) Null passed to a callee that requires non-null when creating an audioFile.recorder

      To resolve both of these just need to pass the autoSettings object to the audioFile.recorder function.

      This resolves both warnings and actually applies the autoSettings as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                ghenry22 Gaven Henry
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified