View Single Post
Old 04-17-2019, 12:40 PM   #9
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 12,116
Default

Quote:
Originally Posted by heda View Post
could this be a bug?
Code:
reaper.GetSetProjectInfo(0, "RENDER_SRATE", 0, true)
should this set the sample rate to the project sample rate? It sets it to a sample rate of "1" hz instead

getting the sample rate: returns 0 if it is like project sample rate. ok.
Code:
sr = reaper.GetSetProjectInfo(0, "RENDER_SRATE", 0, false)
so that is why I expected to set it to 0 to set it to current project sample rate.
You are correct, fixing!
Justin is online now   Reply With Quote