@@ -1360,9 +1360,8 @@ extern SDL_DECLSPEC Sint64 SDLCALL MIX_GetTrackRemaining(MIX_Track *track);
1360
1360
* together).
1361
1361
*
1362
1362
* 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.
1366
1365
*
1367
1366
* \param track the track to query.
1368
1367
* \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
1389
1388
* function will approximate by rounding down to the closest full millisecond.
1390
1389
*
1391
1390
* 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.
1395
1393
*
1396
1394
* \param track the track to query.
1397
1395
* \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
1454
1452
/**
1455
1453
* Convert milliseconds to sample frames at a specific sample rate.
1456
1454
*
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.
1459
1456
*
1460
1457
* \param sample_rate the sample rate to use for conversion.
1461
1458
* \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);
1476
1473
* Sample frames are more precise than milliseconds, so out of necessity, this
1477
1474
* function will approximate by rounding down to the closest full millisecond.
1478
1475
*
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.
1481
1478
*
1482
1479
* \param sample_rate the sample rate to use for conversion.
1483
1480
* \param frames the rate-specific sample frames to convert to milliseconds.
0 commit comments