Skip to content

Commit

Permalink
Drop useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
StaehliJ committed Aug 11, 2023
1 parent a4c57f5 commit 2a337f4
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import androidx.media3.common.TrackSelectionParameters

/**
* Is text track disabled
* FIXME Doesn't work in case of playlists. A overrides can be setup but no applicable for the next item.
*/
val TrackSelectionParameters.isTextTrackDisabled: Boolean
get() = disabledTrackTypes.contains(C.TRACK_TYPE_TEXT) ||
Expand Down Expand Up @@ -73,11 +72,9 @@ fun TrackSelectionParameters.disableAudioTrack(): TrackSelectionParameters {
}

/**
* Default text track
* Default text track parameters.
*
* Reset [TrackSelectionParameters] for text as Default.
*
* @param context
* @param context The context.
* @return
*/
fun TrackSelectionParameters.defaultTextTrack(context: Context): TrackSelectionParameters {
Expand All @@ -92,11 +89,11 @@ fun TrackSelectionParameters.defaultTextTrack(context: Context): TrackSelectionP
}

/**
* Default audio track
* Default audio track parameters.
*
* Reset [TrackSelectionParameters] for audio as Default.
*
* @param context
* @param context The context.
* @return
*/
fun TrackSelectionParameters.defaultAudioTrack(context: Context): TrackSelectionParameters {
Expand Down

0 comments on commit 2a337f4

Please sign in to comment.