Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
4.67/5 (3 votes)
I have checked this MediaCapture[^] sample. I tried to record audio but when I press "StartDevice" button, I got "Exception from HRESULT: 0xC00DABE0". My audio device is working perfectly, I have checked with Windows 8's built in sound recording app. Can anyone please help me to sort out this issue ?

I have tried the same app with HTML5/JS sample, it records the audio but C#/XAML app gives exception.

Image[^]
Posted
Updated 22-Jul-12 20:07pm
v3

1 solution

Finally got the solution myself, I changed this line:
C#
await m_mediaCaptureMgr.InitializeAsync();

to this:
C#
await m_mediaCaptureMgr.InitializeAsync(settings);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900