Search Issue Tracker

By Design

Votes

0

Found in

2019.3

2019.3.4f1

2020.2

Issue ID

1232388

Regression

No

[iOS] [tvOS] AudioSampleProvider reporting incorrect Channel count

Audio

-

Reproduction steps:
1. Open user's attached project in "AudioSampleProviderBug.zip"
2. Enter Play Mode
3. While in Play Mode, notice that AudioSampleProvider Channel Count is 6
4. Exit Play Mode and build the project for iOS
5. Run and Deploy the Xcode project to an iOS device

Expected result: AudioSampleProvider Channel Count is still 6
Actual result: AudioSampleProvider Channel Count is only 2

Reproducible with: 2019.3.10f1, 2020.2.0a5
Could not test with: 2017.4, 2018.4 because of errors in the console

Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 (iOS 11.2.1)
AppleTV (tvOS 13.3.1)
Could not test with:
VLNQA00204 iPhone 5C (iOS 10.3.3) because of errors in Xcode (related to Int 32/64 variable types)

  1. Resolution Note (2020.2.X):

    channelCount represents actual number of channels being played back. On older devices it's possible to playback only 2 channels, therefore some downmixing happens on OS level and only 2 channels are being played back. Macs are capable of 6 channel playback so channelCount will reflect that and will return channelCount of 6 (including in editor).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.