mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 09:36:33 +01:00
[Summary] Extended list of supported sample rates on MAC and for None device according to PRD
This commit is contained in:
parent
d2d79aa022
commit
7d5e2bc0cb
2 changed files with 3 additions and 3 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ WCMRNativeAudioNoneDevice::WCMRNativeAudioNoneDevice (WCMRAudioDeviceManager *pM
|
|||
{
|
||||
m_DeviceName = NONE_DEVICE_NAME;
|
||||
|
||||
m_SamplingRates = boost::assign::list_of (m_CurrentSamplingRate=44100)(48000)(88200)(96000);
|
||||
m_SamplingRates = boost::assign::list_of (m_CurrentSamplingRate=44100)(48000)(88200)(96000)(176400)(192000);
|
||||
|
||||
m_BufferSizes = boost::assign::list_of (32)(64)(128)(m_CurrentBufferSize=256)(512)(1024);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue