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:
parent
88071b29e6
commit
38295f332b
69 changed files with 392 additions and 411 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue