Click here to Skip to main content
12,553,962 members (63,272 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# Windows audio Metro-design , +
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.

Posted 17-Jul-12 21:33pm
Updated 22-Jul-12 20:07pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161021.1 | Last Updated 8 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100