[Summary] Extended list of supported sample rates on MAC and for None device according to PRD

This commit is contained in:
GZharun 2014-09-23 12:41:05 +03:00
parent d2d79aa022
commit 7d5e2bc0cb
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ using namespace wvNS;
///< Supported Sample rates
static const double gAllSampleRates[] =
{
44100.0, 48000.0, 88200.0, 96000.0, -1 /* negative terminated list */
44100.0, 48000.0, 88200.0, 96000.0, 176400.0, 192000.0, -1 /* negative terminated list */
};
@ -2512,7 +2512,7 @@ WTErr WCMRCoreAudioDeviceManager::getDeviceAvailableSampleRates(DeviceID deviceI
{
//! 2. Get property: cannels output.
// Allocate size accrding to the number of audio values
// Allocate size according to the number of audio values
int numRates = propSize / sizeof(AudioValueRange);
AudioValueRange* supportedRates = new AudioValueRange[numRates];