You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use this GetDeviceSamplerate() function on iOS 18.
How to reproduce the bug:
call device->getAvailableSampleRates() on iOS/iPadOS 18 with an audio interface which supports 96kHz.
The return value is 44100.
p.s.
I have never used JUCE framework in my project.
I wrote this report because an app which uses the JUCE only shows one sample rate on iOS 18.x, and shows 4 sample rates on iOS 17.x.
What is the expected behaviour?
All available sample rates (44100, 48000, 88200, 96000 in my case) should be included by the return value.
Operating systems
iOS
What versions of the operating systems?
iOS/iPadOS 18.x
Architectures
Arm64/aarch64
Stacktrace
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the develop branch
I have not tested against the develop branch
Code of Conduct
I agree to follow the Code of Conduct
The text was updated successfully, but these errors were encountered:
Detailed steps on how to reproduce the bug
On iOS/iPadOS 18, [AVAudioSession sharedInstance].sampleRate seems to be incorrect.
This line uses the function and return the incorrect value.
modules/juce_audio_devices/native/juce_Audio_ios.cpp#L484
I found a workaround for this on the internet.
iOS 18 USB DAC output sampling rate issue
Please use this GetDeviceSamplerate() function on iOS 18.
How to reproduce the bug:
call
device->getAvailableSampleRates()
on iOS/iPadOS 18 with an audio interface which supports 96kHz.The return value is 44100.
p.s.
I have never used JUCE framework in my project.
I wrote this report because an app which uses the JUCE only shows one sample rate on iOS 18.x, and shows 4 sample rates on iOS 17.x.
What is the expected behaviour?
All available sample rates (44100, 48000, 88200, 96000 in my case) should be included by the return value.
Operating systems
iOS
What versions of the operating systems?
iOS/iPadOS 18.x
Architectures
Arm64/aarch64
Stacktrace
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchI have not tested against the
develop
branchCode of Conduct
The text was updated successfully, but these errors were encountered: