|
From: <ju...@cy...> - 2012-06-14 23:31:56
|
Hi. I was wondering how hard it would be to add flac import support for the sfz engine. I looked into src/engines/common/SampleFile.cpp. The thing I find most confusing there is the non-local interaction with Synthesize::GetSample for 24 bit samples (according to a comment there). Can somebody who understands this comment on whether or not it is tricky? Also, would it be simpler to use sf_readf_ only, rather than sf_read_raw for wav and sf_readf_ for others? Maybe this little code section could be tidied up and we could get more import formats along the way? If I understand these issues, I could probably make a simple patch that would add flac support (and maybe others?). Please let me know if I am missing something here. Thanks. -- G. Jungman |