mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-04 19:12:51 +02:00
Comments and new synonym names in sampleFormat enumeration
This commit is contained in:
@@ -723,9 +723,15 @@ inline size_t limitSampleBufferSize( size_t bufferSize, sampleCount limit )
|
||||
// ----------------------------------------------------------------------------
|
||||
enum sampleFormat : unsigned
|
||||
{
|
||||
//! The increasing sequence of these enum values must correspond to the increasing data type width
|
||||
//! These values persist in saved project files, so must not be changed in later program versions
|
||||
int16Sample = 0x00020001,
|
||||
int24Sample = 0x00040001,
|
||||
floatSample = 0x0004000F
|
||||
floatSample = 0x0004000F,
|
||||
|
||||
//! Two synonyms for previous values that might change if more values were added
|
||||
narrowestSampleFormat = int16Sample,
|
||||
widestSampleFormat = floatSample,
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user