Closed nwolek closed 11 years ago
The unsigned variables used in TTSampleMatrix are inconsistent with other functions. https://github.com/jamoma/JamomaCore/blob/master/DSP/library/includes/TTSampleMatrix.h
TTErr peek(const TTUInt64 index, const TTUInt16 channel, TTSampleValue& value); TTErr peeki(const TTFloat64 index, const TTUInt16 channel, TTSampleValue& value); TTErr poke(const TTUInt64 index, const TTUInt16 channel, const TTSampleValue value);
They should use the TTRowID & TTColumnID typedefs defined in TTMatrix.h for consistency. https://github.com/jamoma/JamomaCore/blob/master/Foundation/library/includes/TTMatrix.h
OR BETTER perhaps even define audio specific typedefs? like... TTChannelIndex & TTSampleIndex
this was fixed during work on the SoundfileLib.
The unsigned variables used in TTSampleMatrix are inconsistent with other functions. https://github.com/jamoma/JamomaCore/blob/master/DSP/library/includes/TTSampleMatrix.h
TTErr peek(const TTUInt64 index, const TTUInt16 channel, TTSampleValue& value); TTErr peeki(const TTFloat64 index, const TTUInt16 channel, TTSampleValue& value); TTErr poke(const TTUInt64 index, const TTUInt16 channel, const TTSampleValue value);
They should use the TTRowID & TTColumnID typedefs defined in TTMatrix.h for consistency. https://github.com/jamoma/JamomaCore/blob/master/Foundation/library/includes/TTMatrix.h
OR BETTER perhaps even define audio specific typedefs? like... TTChannelIndex & TTSampleIndex