Indeed, but there is no listing for 0. Audioclient.h kicks off at 0x1 as
snip below shows
#define AUDCLNT_E_NOT_INITIALIZED AUDCLNT_ERR(0x001)
#define AUDCLNT_E_ALREADY_INITIALIZED AUDCLNT_ERR(0x002)
#define AUDCLNT_E_WRONG_ENDPOINT_TYPE AUDCLNT_ERR(0x003)
#define AUDCLNT_E_DEVICE_INVALIDATED AUDCLNT_ERR(0x004)
#define AUDCLNT_E_NOT_STOPPED AUDCLNT_ERR(0x005)
#define AUDCLNT_E_BUFFER_TOO_LARGE AUDCLNT_ERR(0x006)
#define AUDCLNT_E_OUT_OF_ORDER AUDCLNT_ERR(0x007)
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Matthew van Eerde
Sent: 16 September 2015 17:06
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: WASAPI update ...
0x889 is FACLITY_AUDCLNT. You can look up the meanings of the various
specific HRESULT values in audioclient.idl / audioclient.h.
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jerry Evans
Sent: Wednesday, September 16, 2015 6:20 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] WASAPI update ...
Apologies for banging on about this one but a bit more data. Code example
updated to include buffer size renegotiation, reporting of HRESULT error
codes, plus some indication that the render thread is actually running.
Delta and Realtek are Win7, Cirrus is Win10, both Pro|Ultimate, both x64.
Mode\Soundcard
Delta AP PCI
Asus/Realtek HDA
Dell/Cirrus HDA
WASAPI exclusive def period
Glitches
works
works
WASAPI exclusive min period
Silence
works
error 0x888900*
WASAPI exclusive w/ GetCurrentPadding
Glitches
silence
Silence
*when initializing IAudioclient. What does this one signify?
Jerry.