RPR GetMediaItem Track
From CockosWiki
(→See Also) |
(→See Also) |
||
Line 32: | Line 32: | ||
</pre> | </pre> | ||
==See Also== | ==See Also== | ||
- | + | {{SeeAlsoTrackFunctions}} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
==Stuff== | ==Stuff== |
Revision as of 15:27, 3 November 2009
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetMediaItem Track
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetMediaItem Track
Contents |
GetMediaItem_Track()
MediaTrack* GetMediaItem_Track(MediaItem* item)
Get the parent track which contains a specified media item.
Parameters
MediaItem* item
Returns
MediaTrack*
Examples
Perl
# # GetMediaItem_Track.pl # use strict; use warnings; use constant CURR_PROJ => 0; # first catch your media item my $it = RPR_GetSelectedMediaItem(CURR_PROJ,0); # and then your track, this line will give you a run-time # error if no item is selected my $tr = RPR_GetMediaItem_Track($it);
Python
See Also
Track: AddMediaItemToTrack, BypassFxAllTracks, CountSelectedTracks, CountTracks, CountTrackMediaItems, DeleteTrack, DeleteTrackMediaItem, EnumTrackMIDIProgramNames, EnumTrackMIDIProgramNamesEx, GetLastTouchedTrack, GetMediaItem_Track, GetMediaItemTake_Track, GetMediaTrackInfo_Value, GetNumTracks, GetSelectedTrack, GetSelectedTrackEnvelope, GetSetMediaTrackInfo_String, GetSetTrackState, GetTrack, GetTrackAutomationMode, GetTrackEnvelope, GetTrackEnvelopeByName, GetTrackGUID, GetTrackInfo, GetTrackMediaItem, GetTrackMIDINoteName, GetTrackMIDINoteNameEx, GetTrackNumMediaItems, GetTrackUIVolPan, GetTrackState, HasTrackMIDIPrograms, HasTrackMIDIProgramsEx, InsertTrackAtIndex, MoveMediaItemToTrack, MuteAllTracks, PlayTrackPreview, PlayTrackPreview2, SetTrackAutomationMode, SetTrackMIDINoteName, SetTrackMIDINoteNameEx, SetTrackSelected, SoloAllTracks, StopTrackPreview, StopTrackPreview2, Track_GetPeakInfo, TrackFX_FormatParamValue, TrackFX_GetCount, TrackFX_GetFXName, TrackFX_GetNumParams, TrackFX_GetParam, TrackFX_GetParamName, TrackFX_SetParam, TrackList_AdjustWindows, TrackList_UpdateAllExternalSurfaces
Stuff
Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR GetMediaItem Track
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR GetMediaItem Track