1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Fix for mono files in QuicktimeAudioFormat. Avoided some floating-point comparison warnings. Added some iOS options in the new jucer plist. Fix for audio host startup. Changes to allow backslashes in unix filenames.

This commit is contained in:
Julian Storer 2011-02-17 10:22:36 +00:00
parent 2a86002b31
commit 3fe85fd17a
24 changed files with 150 additions and 85 deletions

View file

@ -468,7 +468,7 @@ double AudioDeviceManager::chooseBestSampleRate (double rate) const
{
const double sr = currentAudioDevice->getSampleRate (i);
if (sr >= 44100.0 && (lowestAbove44 == 0 || sr < lowestAbove44))
if (sr >= 44100.0 && (lowestAbove44 < 1.0 || sr < lowestAbove44))
lowestAbove44 = sr;
}