Open nwolek opened 11 years ago
There is no reason not to have this now be a subclass much like TTSoundfileLoader and make things DRY. All the interaction with the sound file happens in TTSoundfile, so that becomes the only place we interact with third party libraries.
Current version: https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/includes/TTSoundfilePlayer.h https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/sources/TTSoundfilePlayer.cpp
Model for revision: https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/includes/TTSoundfileLoader.h https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/sources/TTSoundfileLoader.cpp
+1
TTSoundfileLib is being quarantined for 1.0 release. If this issue is addressed, it will be done for 1.1 or in jamoma2.
There is no reason not to have this now be a subclass much like TTSoundfileLoader and make things DRY. All the interaction with the sound file happens in TTSoundfile, so that becomes the only place we interact with third party libraries.
Current version: https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/includes/TTSoundfilePlayer.h https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/sources/TTSoundfilePlayer.cpp
Model for revision: https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/includes/TTSoundfileLoader.h https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/sources/TTSoundfileLoader.cpp