Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44790

QAudioOutput crashes on iOS 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.1, 5.5.0
    • Fix Version/s: 5.4.2
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      iOS 5.1.1
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      f3a07360dd5a7b8e8b13217b08a952a1584e8101

      Description

      The QAudioOutput and QAudioInput device crashes on iOS 5.1.1 because the "CoreAudioSessionManager.mm" uses constants and methods which are only available starting with iOS 6.

      The problem could be fixed by adding a version check for the affected constants and methods (which are only a few in number).

      Here are some examples which are only available with iOS 6:

      • AVAudioSessionMediaServicesWereResetNotification
      • AVAudioSessionCategoryMultiRoute
      • setCategory:targetCategory withOptions:options error:nil];

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              ylopes Yoann Lopes
              Reporter:
              DanielSt Peter Staab
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes