File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40996,11 +40996,12 @@ static ma_result ma_device_start__aaudio(ma_device* pDevice)
4099640996{
4099740997 ma_device_state_aaudio* pDeviceStateAAudio = ma_device_get_backend_state__aaudio(pDevice);
4099840998 ma_device_type deviceType = ma_device_get_type(pDevice);
40999+ ma_result result;
4099941000
4100041001 ma_device_state_async_flush(&pDeviceStateAAudio->async);
4100141002
4100241003 if (deviceType == ma_device_type_capture || deviceType == ma_device_type_duplex) {
41003- ma_result result = ma_device_start_stream__aaudio(pDevice, pDeviceStateAAudio->pStreamCapture);
41004+ result = ma_device_start_stream__aaudio(pDevice, pDeviceStateAAudio->pStreamCapture);
4100441005 if (result != MA_SUCCESS) {
4100541006 return result;
4100641007 }
@@ -41010,7 +41011,7 @@ static ma_result ma_device_start__aaudio(ma_device* pDevice)
4101041011 /* Do an initial step to get the buffer ready in preparation for the first callback instantiation. */
4101141012 ma_device_step__aaudio(pDevice, MA_BLOCKING_MODE_NON_BLOCKING);
4101241013
41013- ma_result result = ma_device_start_stream__aaudio(pDevice, pDeviceStateAAudio->pStreamPlayback);
41014+ result = ma_device_start_stream__aaudio(pDevice, pDeviceStateAAudio->pStreamPlayback);
4101441015 if (result != MA_SUCCESS) {
4101541016 if (deviceType == ma_device_type_duplex) {
4101641017 ma_device_stop_stream__aaudio(pDevice, pDeviceStateAAudio->pStreamCapture);
You can’t perform that action at this time.
0 commit comments