Closed nwolek closed 10 years ago
https://github.com/jamoma/JamomaCore/blob/master/Foundation/library/source/TTFoundation.cpp#L141
Perhaps this code should be factored-out into its own function if we will use it in more than one place.
Forgot to note that I made this work here: https://github.com/jamoma/JamomaCore/blob/master/DSP/extensions/SoundfileLib/tests/TTSoundfileLoader.test.cpp#L60
Tim's observation that we should perhaps have a function for this is still valid though.
do we have a separate ticket for the relative path feature request?
best, Tim
On Sat, Feb 8, 2014 at 10:26 AM, nwolek notifications@github.com wrote:
Forgot to note that I made this work here:
Tim's observation that we should perhaps have a function for this is still valid though.
— Reply to this email directly or view it on GitHubhttps://github.com/jamoma/JamomaCore/issues/157#issuecomment-34548162 .
It is now #203
Right now, the unit tests below will fail on another person's machine because they use absolute file paths. Is there currently a way to get the relative path of Jamoma? That way I could include a sound file with the source code and point to it for unit tests.
https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/tests/TTSoundfile.test.cpp https://github.com/jamoma/JamomaCore/blob/dev/DSP/extensions/SoundfileLib/tests/TTSoundfileLoader.test.cpp https://github.com/jamoma/JamomaCore/blob/dev/DSP/library/tests/TTSampleMatrix.test.cpp https://github.com/jamoma/JamomaCore/blob/dev/DSP/library/tests/TTBuffer.test.cpp