novocaine
novocaine copied to clipboard
Don't hardcode the sampling rate, get it from the hardware
For iOS a sampling rate of 44,100 Hz is hardcoded. For newer iOS devices the sampling rate is 48,000 Hz. This causes a crash on setup. Sampling rate is for iOS already determined from the Hardware.
Please merge. This is a vital update for anyone who may be experiencing issues with Novocaine, especially with iPhone 11's and iOS 13. Didn't register as a crash with Apple either, so almost impossible to get reports back from users.