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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • None
    • cordova-plugin-media
    • 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

              shazron Shazron Abdullah
              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