Cannot play sound: device being used by another application

32

13

I tried to change my speaker setup and every time I click "test" I get this error message on Windows 7 SP1. I tried running "sndvol" to view the applications list but the list is empty.

Since I tried to test the new speaker setup, I'm now left without sound for all applications and can't get sound even if I switch back.

I have not updated my sound drivers so I don't know what could have changed.

What could be causing this?

EcomEvo

Posted 2012-10-30T20:46:33.233

Reputation: 865

@anot - Question isn't about Windows 8, Windows 8.1, Windows 10,0 it is specifically about Windows 7, so #windows is not an appropriate tag. – Ramhound – 2016-01-22T21:10:33.660

This seems to be a common problem for older AMD A-Series processors. The 15.7.1 WHQL driver bundle has well known audio issues which will cause the exact problem described above. The solution is to roll back the audio driver to previous version, or you can install the 16.2.1 beta version which fixed the issue. – pistol-pete – 2019-01-01T21:50:53.190

I may know what could be causing it, but I don't think I know a way of fixing it. There's an audio API called WASAPI from Windows Vista on, and one of the things applications can request when using it is exclusive sound access. If one such application is running you wouldn't hear sound form the others even if they were playing something. – Xandy – 2012-10-30T21:26:03.173

Answers

54

I had the same error on Windows 7 and managed to fix it by simply restarting the Windows Audio service. If it doesn't work, disable and re-enable the sound device using device manager.

npclaudiu

Posted 2012-10-30T20:46:33.233

Reputation: 656

2Thanks, since today (Windows 8.1), everything seems to suddenly stop playing sound, or refusing to play out of my headphones (instead wanting to play out of my TV or optical which isn't even in use), disabling my headphones did nothing, usually had to re-plug them. Restarting Windows Audio seems to have fixed it. – Someguy123 – 2015-08-20T17:33:39.453

When Windows 10 booted up it made a sound. By the time I logged in no sound was possible. Restarting the "Windows Audio" service restored sound. Now to investigate the Event Log. – Vincent Vancalbergh – 2016-06-12T18:54:17.583

disable/re-enable sound device worked for me on windows 7 – liang – 2020-02-11T12:03:52.140

13

In the properties of your audio device, there should be a checkbox option labelled "Allow applications to take exclusive control of this device". IIRC it is enabled by default; disabling it and rebooting should resolve your issue.

Xyon

Posted 2012-10-30T20:46:33.233

Reputation: 1 499

Same here but I wish I could figure out what program suddenly started taking exclusive control. Kind of makes me worry about malware – andrewtweber – 2014-07-16T22:43:30.453

2This actually isn't working for me. It appeared to work once, but even with that disabled, some program is still taking control of them. Any ideas on how to identify which program is the culprit? – andrewtweber – 2014-07-18T03:26:27.427

2Odd, I'm also getting the same lock even after disabling the exclusive control – DWils – 2015-08-31T05:53:00.483

4

Best to combine both answers here.

As a resolution for now, execute in elevated prompt

net stop "AudioSrv" && net start "AudioSrv"

This restarts the Windows Audio Service. (Reboot will also work.)

To prevent future problems, disallow apps to get exclusive control to the device by going to sound -> (select device from list) -> properties -> advanced -> Allow applications to take exclusive control of this device .

Andreas Reiff

Posted 2012-10-30T20:46:33.233

Reputation: 895

1Already did that, but even without that settings it still says the device is in use. Seems to happen after a while though, and it's the HDMI out on my AMD GPU. – m-p-3 – 2016-01-08T16:46:55.973

Same problem here as m-p-3. Happens as soon as the computer has booted, on HDMI output for my AMD Graphics Card – Teocali – 2016-01-09T11:06:24.247

2Ok, found a solution : Uninstall Program >= Right click on AMD Catalyct control center > Change > Selected custom uninstallation and desinstalled the driver for the HDMI chipset. My guess is that the AMD driver was in conflict with the windows driver. I searched how to deinstall the window one to give priority to the AMD one but no luck for the moment. – Teocali – 2016-01-09T11:16:53.070

For AMD chipset issues I was able to fix things by manually selecting a newer version of the driver (which was already installed) by clicking "Update Driver" on the driver tab of the device property dialog. – BrianS – 2018-02-26T05:39:26.107

2

I had the same problem, and I solved it by installing an update (Chipset_Intel_Win_8) from the Asus website. I have an Asus RS51.

user235056

Posted 2012-10-30T20:46:33.233

Reputation: 21

1Please leave a comment if you vote down. – pelms – 2014-11-12T11:16:22.283