Skip to content

Commit

Permalink
Update SbPlayerGetMaximumNumberOfSamplesPerWrite() description (#2477)
Browse files Browse the repository at this point in the history
b/326446911
  • Loading branch information
osagie98 authored Feb 26, 2024
1 parent 1459d68 commit e2e5642
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion starboard/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,12 @@ SB_EXPORT void SbPlayerWriteSample2(SbPlayer player,
int number_of_sample_infos);

// Returns the maximum number of samples that can be written in a single call
// to SbPlayerWriteSamples().
// to SbPlayerWriteSamples(). Returning a value greater than one can improve
// performance by allowing SbPlayerWriteSamples() to write multiple samples in
// one call.
//
// Note that this feature is currently disabled in Cobalt where
// SbPlayerWriteSamples() will always be called with one sample.
//
// |player|: The player for which the number is retrieved.
// |sample_type|: The type of sample for which the number is retrieved. See the
Expand Down

0 comments on commit e2e5642

Please sign in to comment.