Skip to content

Commit 4345f58

Browse files
committed
Sync SDL3_mixer wiki -> header
[ci skip]
1 parent 331080b commit 4345f58

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

include/SDL3_mixer/SDL_mixer.h

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,9 +1360,8 @@ extern SDL_DECLSPEC Sint64 SDLCALL MIX_GetTrackRemaining(MIX_Track *track);
13601360
* together).
13611361
*
13621362
* On various errors (MIX_Init() was not called, the track is NULL), this
1363-
* returns -1.
1364-
* If the track has no input, this returns -1.
1365-
* If `ms` is < 0, this returns -1.
1363+
* returns -1. If the track has no input, this returns -1. If `ms` is < 0,
1364+
* this returns -1.
13661365
*
13671366
* \param track the track to query.
13681367
* \param ms the milliseconds to convert to track-specific sample frames.
@@ -1389,9 +1388,8 @@ extern SDL_DECLSPEC Sint64 SDLCALL MIX_TrackMSToFrames(MIX_Track *track, Sint64
13891388
* function will approximate by rounding down to the closest full millisecond.
13901389
*
13911390
* On various errors (MIX_Init() was not called, the track is NULL), this
1392-
* returns -1.
1393-
* If the track has no input, this returns -1.
1394-
* If `frames` is < 0, this returns -1.
1391+
* returns -1. If the track has no input, this returns -1. If `frames` is < 0,
1392+
* this returns -1.
13951393
*
13961394
* \param track the track to query.
13971395
* \param frames the track-specific sample frames to convert to milliseconds.
@@ -1454,8 +1452,7 @@ extern SDL_DECLSPEC Sint64 SDLCALL MIX_AudioFramesToMS(MIX_Audio *audio, Sint64
14541452
/**
14551453
* Convert milliseconds to sample frames at a specific sample rate.
14561454
*
1457-
* If `sample_rate` is <= 0, this returns -1.
1458-
* If `ms` is < 0, this returns -1.
1455+
* If `sample_rate` is <= 0, this returns -1. If `ms` is < 0, this returns -1.
14591456
*
14601457
* \param sample_rate the sample rate to use for conversion.
14611458
* \param ms the milliseconds to convert to rate-specific sample frames.
@@ -1476,8 +1473,8 @@ extern SDL_DECLSPEC Sint64 SDLCALL MIX_MSToFrames(int sample_rate, Sint64 ms);
14761473
* Sample frames are more precise than milliseconds, so out of necessity, this
14771474
* function will approximate by rounding down to the closest full millisecond.
14781475
*
1479-
* If `sample_rate` is <= 0, this returns -1.
1480-
* If `frames` is < 0, this returns -1.
1476+
* If `sample_rate` is <= 0, this returns -1. If `frames` is < 0, this returns
1477+
* -1.
14811478
*
14821479
* \param sample_rate the sample rate to use for conversion.
14831480
* \param frames the rate-specific sample frames to convert to milliseconds.

0 commit comments

Comments
 (0)