mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Core Audio: Fix a bug with full-duplex mode.
Public issue https://github.com/dr-soft/miniaudio/issues/191
This commit is contained in:
+2
-1
@@ -10180,7 +10180,7 @@ static ma_result ma_device__handle_duplex_callback_capture(ma_device* pDevice, m
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = ma_pcm_rb_commit_write(pRB, (ma_uint32)framesProcessedInDeviceFormat, pFramesInClientFormat); /* Safe cast. */
|
result = ma_pcm_rb_commit_write(pRB, (ma_uint32)framesProcessedInClientFormat, pFramesInClientFormat); /* Safe cast. */
|
||||||
if (result != MA_SUCCESS) {
|
if (result != MA_SUCCESS) {
|
||||||
ma_post_error(pDevice, MA_LOG_LEVEL_ERROR, "Failed to commit capture PCM frames to ring buffer.", result);
|
ma_post_error(pDevice, MA_LOG_LEVEL_ERROR, "Failed to commit capture PCM frames to ring buffer.", result);
|
||||||
break;
|
break;
|
||||||
@@ -62488,6 +62488,7 @@ REVISION HISTORY
|
|||||||
v0.10.17 - TBD
|
v0.10.17 - TBD
|
||||||
- Fix an error where the WAV codec is incorrectly excluded from the build depending on which compile time options are set.
|
- Fix an error where the WAV codec is incorrectly excluded from the build depending on which compile time options are set.
|
||||||
- Fix compilation error on Android.
|
- Fix compilation error on Android.
|
||||||
|
- Core Audio: Fix a bug with full-duplex mode.
|
||||||
- Add ma_decoder_get_cursor_in_pcm_frames().
|
- Add ma_decoder_get_cursor_in_pcm_frames().
|
||||||
- Update WAV codec.
|
- Update WAV codec.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user