Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WASAPI AudioClient.Initialize $80070057 error

236 views
Skip to first unread message

Hp. Widmer

unread,
Jul 10, 2009, 3:17:35 AM7/10/09
to

Hello

I get this nice $800$70057 error on AudioClient.Initialize call using the
default GetMixformat.

My WSAPI Call sequence:
- Activate
- GetMixformat
- IsFormatSupported
- AudioClient.Initialize <<< Error $800$70057


00000180 171.21493530 [1548] SampleRate : 22050
00000181 171.21519470 [1548] Bits Per Sample : 16
00000182 171.21533203 [1548] Channels : 2
00000183 171.21545410 [1548] Avg Per Second : 88200
00000184 171.21598816 [1548] Block Align : 4
00000185 171.21617126 [1548] Frame Size : 4
00000186 171.30726624 [1548] SH hnns Req. Duration : 10000000
00000187 171.31486511 [1548] AudioClient.Initialize: Unknown WASAPI Error:
$80070057 !!!

Its' Vista SP2 on a VMWare were I change the recording from single to dual
channel!

Usual the WASAPI has some $8889xxxx specific errors...

Hp


Chris P.

unread,
Jul 10, 2009, 10:33:23 AM7/10/09
to

HRESULT: 0x80070057 (2147942487)
Name: E_INVALIDARG
Description: An invalid parameter was passed to the returning function
Severity code: Failed
Facility Code: FACILITY_WIN32 (7)
Error Code: 0x0057 (87)

Your specified format probably doesn't match the mix format.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

0 new messages