1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Converted some old typedefs to using declarations

This commit is contained in:
jules 2018-05-02 20:15:33 +01:00
parent 88071b29e6
commit 38295f332b
69 changed files with 392 additions and 411 deletions

View file

@ -1062,7 +1062,7 @@ public:
//==============================================================================
/** This allows templated code that takes an AudioBuffer to access its sample type. */
typedef Type SampleType;
using SampleType = Type;
private:
//==============================================================================
@ -1125,12 +1125,12 @@ private:
/**
A multi-channel buffer of 32-bit floating point audio samples.
This typedef is here for backwards compatibility with the older AudioSampleBuffer
This type is here for backwards compatibility with the older AudioSampleBuffer
class, which was fixed for 32-bit data, but is otherwise the same as the new
templated AudioBuffer class.
@see AudioBuffer
*/
typedef AudioBuffer<float> AudioSampleBuffer;
using AudioSampleBuffer = AudioBuffer<float>;
} // namespace juce