Heyho Nicola,
I am using ofxPDSP's sample buffer and i just ran into a problem when using ~ instead of /Users/thomasgeissl/. Not sure this is supported in c++ at all. Maybe it is just in the underlying mp3 libary not support. I am wondering if ofxAudioFile should support this. What's your opinion on this?
I guess some regexps and ofFilePath::getUserHomeDir() could fix it.
// _deckA->load("/Users/thomasgeissl/Desktop/Radiohead_Idioteque.mp3"); //works
_deckA->load("~/Desktop/Radiohead_Idioteque.mp3"); // gives me an error
Thomas
Heyho Nicola,
I am using ofxPDSP's sample buffer and i just ran into a problem when using ~ instead of /Users/thomasgeissl/. Not sure this is supported in c++ at all. Maybe it is just in the underlying mp3 libary not support. I am wondering if ofxAudioFile should support this. What's your opinion on this?
I guess some regexps and
ofFilePath::getUserHomeDir()could fix it.Thomas