See SpriteStudioPlayer.trackMainSource.
int? trackMainSource(int track) => ssRuntime.trackMainSource(_context, track);