src/tools/benchmark_tool/benchmark_tool/player/generic_player.py
def _append_track(self, track, track_idx):
        """
        Append a track to the internal list and update the internal data counter.

        @param track: The track to append to the internal list
        @type  track: Track
        @param track_idx: The index of the data source in the Dataset
        @type  track_idx: int
        @return: True on success, False on failure
        """
        if track_idx < len(self._dataset.get_sources(track.track_type_str)):
            # Get the dataset count for this track, used with a
            # progress bar when data is played
            self._frame_to_play += self._dataset.get_source_length(
                track.track_type_str, track_idx)

            # Append to the list of track to be played
            self._tracks.append(track)
            return True

        return False

        Append a track to the internal list and update the internal data counter.

        @param track: The track to append to the internal list
        @type  track: Track
        @param track_idx: The index of the data source in the Dataset
        @type  track_idx: int
        @return: True on success, False on failure
        
Append a track to the internal list and update the internal data counter.
Append a track to the internal list and update the internal data counter .
def _append_track(self, track, track_idx):
        if track_idx < len(self._dataset.get_sources(track.track_type_str)):
            self._frame_to_play += self._dataset.get_source_length(
                track.track_type_str, track_idx)
            self._tracks.append(track)
            return True
        return False
def _append_track ( self , track , track_idx ) : if track_idx < len ( self . _dataset . get_sources ( track . track_type_str ) ) : self . _frame_to_play += self . _dataset . get_source_length ( track . track_type_str , track_idx ) self . _tracks . append ( track ) return True return False
Append a track to the internal list and update the internal data counter.
Append a track to the internal list and update the internal data counter .
"""
        Append a track to the internal list and update the internal data counter.

        @param track: The track to append to the internal list
        @type  track: Track
        @param track_idx: The index of the data source in the Dataset
        @type  track_idx: int
        @return: True on success, False on failure
        """ # Get the dataset count for this track, used with a # progress bar when data is played # Append to the list of track to be played
True on success, False on failure
True on success False on failure
self
track
The track to append to the internal list
The track to append to the internal list
track_idx
The index of the data source in the Dataset
The index of the data source in the Dataset