Just like Windows 10, Windows 11 also come with a Recording Audio troubleshooter that might come in handy to you for resolving this issue. So, try to run that troubleshooter and see if it helps.