CSurf_OnRecord() ignores default file name
Hi,
I am working on a C++ plugin for Reaper and i am getting an unexpected behavior.
In reaper i set my default file name to:
$track
When i record something using the record button, my wav file gets properly named: "Rick James.wav", then "Rick James-01.wav", etc... (my track's name being "Rick James")
If i write a LUA script doing the same thing...
reaper.CSurf_OnRecord()
...
reaper.CSurf_OnStop()
.. I get the same results, all good.
But when i try in C, it does not work, and follows the old Tracknumber-Trackname-Timestamp[XX] format.
Any suggestions?
Thanks,
Yann
Last edited by adysoft; 10-13-2016 at 12:34 PM.
|