Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows Exception audio Metro , +
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 17-Jul-12 21:33pm
Edited 22-Jul-12 20:07pm
v3

1 solution

Rate this: bad
good
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);
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 640
1 OriginalGriff 431
2 Maciej Los 255
3 PIEBALDconsult 180
4 Bruno Sprecher 170
0 Sergey Alexandrovich Kryukov 11,069
1 OriginalGriff 5,743
2 Maciej Los 5,649
3 CPallini 3,879
4 BillWoodruff 3,584


Advertise | Privacy | Mobile
Web04 | 2.8.141030.1 | Last Updated 8 Aug 2012
Copyright © CodeProject, 1999-2014
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