mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Another documentation fix.
This commit is contained in:
+1
-1
@@ -6733,7 +6733,7 @@ sample rate. For the channel map, the default should be used when `ma_channel_ma
|
||||
`MA_CHANNEL_NONE`). On input, the `periodSizeInFrames` or `periodSizeInMilliseconds` option should always be set. The backend should
|
||||
inspect both of these variables. If `periodSizeInFrames` is set, it should take priority, otherwise it needs to be derived from the period
|
||||
size in milliseconds (`periodSizeInMilliseconds`) and the sample rate, keeping in mind that the sample rate may be 0, in which case the
|
||||
sample rate will need to be determined before calculating the period size in frames. On output, all members of the `ma_device_data_format`
|
||||
sample rate will need to be determined before calculating the period size in frames. On output, all members of the `ma_device_descriptor`
|
||||
object should be set to a valid value, except for `periodSizeInMilliseconds` which is optional (`periodSizeInFrames` *must* be set).
|
||||
|
||||
Starting and stopping of the device is done with `onDeviceStart()` and `onDeviceStop()` and should be self-explanatory. If the backend uses
|
||||
|
||||
Reference in New Issue
Block a user