assertion ma_device_get_state(pDevice) == ma_device_state_stopped
failed when ma_device_start
in callback ma_IMMNotificationClient_OnDefaultDeviceChanged
#777
Labels
When I run the following code and switch the audio output device
I get this:
the state now is ma_device_state_started
![image](https://private-user-images.githubusercontent.com/43230320/284115208-9834b651-440e-4fce-9b28-5146440d75f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwNDkzNDgsIm5iZiI6MTcyNDA0OTA0OCwicGF0aCI6Ii80MzIzMDMyMC8yODQxMTUyMDgtOTgzNGI2NTEtNDQwZS00ZmNlLTliMjgtNTE0NjQ0MGQ3NWYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE5VDA2MzA0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkMTY3OTkyNDRiZmU5OTdhOGNmODBjZGFkNjgyNmRhYjk4Y2JkYTcyNDA3MGQ4YzgyYWE4NmVkOGMwYzc2YTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TPQ31dyGXj-fbxmBlTAXBS67YWcoKsPVPb1ali3rogw)
debug infos:
parallel-stacks:
![image](https://private-user-images.githubusercontent.com/43230320/284115734-f20b7404-9452-470a-a6b1-24319db40c30.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwNDkzNDgsIm5iZiI6MTcyNDA0OTA0OCwicGF0aCI6Ii80MzIzMDMyMC8yODQxMTU3MzQtZjIwYjc0MDQtOTQ1Mi00NzBhLWE2YjEtMjQzMTlkYjQwYzMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE5VDA2MzA0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0YzE4ZmNiNzg3MGIyNzAwYzgwMGIzNjIwMTcwYzhlYzUxYzQ2M2NjYzM4ZTk5MmU1NjZhMmNiZDg5YTI1YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FbHcPGs6Kflxj3R_bswk3noz4rwbiyOhN_hDRfNMUWU)
The text was updated successfully, but these errors were encountered: