View Single Post
Old 10-02-2019, 12:19 PM   #37
schwa's Avatar
Join Date: Mar 2007
Location: NY
Posts: 10,533

The playback offset doesn't use any resources unless it is enabled and nonzero.

Originally Posted by heda View Post
I have a track with -2000 samples offset and I run this
reaper.SetMediaTrackInfo_Value(track, "I_PLAY_OFFSET_FLAG", 0)
because I want to switch it to ms instead of samples. Now the track has -2000000 ms instead of -41.7 ms which is what it should have when I do it from the UI.
If you're changing the units via the API, you'll have to do the conversion yourself and change the value too.
schwa is offline   Reply With Quote