getting "Exception from HRESULT: 0xC00DABE0" in MediaCapture sample of c#/xaml metro style app

3

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.

enter image description here

c#
exception
microsoft-metro
windows-runtime
audio-recording
asked on Stack Overflow Jul 18, 2012 by Xyroid • edited Jul 23, 2012 by Xyroid

1 Answer

2

Finally found the solution

change this line into sample

await m_mediaCaptureMgr.InitializeAsync();

to this

await m_mediaCaptureMgr.InitializeAsync(settings);
answered on Stack Overflow Aug 8, 2012 by Xyroid

User contributions licensed under CC BY-SA 3.0