mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Added the AudioData class, which contains a range of templated structrures for manipulating different sample type primitives. This will replace the old AudioDataConverters class, and I've refactored a lot of the audio devices and formats to use the new classes.
This commit is contained in:
parent
8f4aaa4873
commit
ba62157841
27 changed files with 1603 additions and 2510 deletions
|
|
@ -350,7 +350,7 @@ namespace NumberToStringConverters
|
|||
|
||||
static juce_wchar getDecimalPoint()
|
||||
{
|
||||
#if JUCE_WINDOWS && _MSC_VER < 1400
|
||||
#if JUCE_MSVC && _MSC_VER < 1400
|
||||
static juce_wchar dp = std::_USE (std::locale(), std::numpunct <wchar_t>).decimal_point();
|
||||
#else
|
||||
static juce_wchar dp = std::use_facet <std::numpunct <wchar_t> > (std::locale()).decimal_point();
|
||||
|
|
@ -387,7 +387,7 @@ namespace NumberToStringConverters
|
|||
else
|
||||
{
|
||||
#if JUCE_WINDOWS
|
||||
#if _MSC_VER <= 1400
|
||||
#if JUCE_MSVC && _MSC_VER <= 1400
|
||||
len = _snwprintf (buffer, numChars, L"%.9g", n);
|
||||
#else
|
||||
len = _snwprintf_s (buffer, numChars, _TRUNCATE, L"%.9g", n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue