Old 10-13-2016, 11:08 AM   #1
adysoft
Human being with feelings
 
Join Date: Sep 2016
Posts: 1
Default 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.
adysoft is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.