Home | History | Annotate | Download | only in audio

Lines Matching defs:hr

50     HRESULT hr;
52 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2);
53 if (FAILED (hr)) {
54 dsound_logerr (hr, "Could not unlock " NAME "\n");
73 HRESULT hr;
85 hr = glue (IFACE, _Lock) (
96 if (FAILED (hr)) {
98 if (hr == DSERR_BUFFERLOST) {
100 dsound_logerr (hr, "Could not lock " NAME "\n");
106 dsound_logerr (hr, "Could not lock " NAME "\n");
155 HRESULT hr;
163 hr = glue (IFACE, _Stop) (ds->FIELD);
164 if (FAILED (hr)) {
165 dsound_logerr (hr, "Could not stop " NAME "\n");
168 hr = glue (IFACE, _Release) (ds->FIELD);
169 if (FAILED (hr)) {
170 dsound_logerr (hr, "Could not release " NAME "\n");
183 HRESULT hr;
214 hr = IDirectSoundCapture_CreateCaptureBuffer (
223 hr = IDirectSound_CreateSoundBuffer (
231 if (FAILED (hr)) {
232 dsound_logerr2 (hr, typ, "Could not create " NAME "\n");
236 hr = glue (IFACE, _GetFormat) (ds->FIELD, &wfx, sizeof (wfx), NULL);
237 if (FAILED (hr)) {
238 dsound_logerr2 (hr, typ, "Could not get " NAME " format\n");
250 hr = glue (IFACE, _GetCaps) (ds->FIELD, &bc);
251 if (FAILED (hr)) {
252 dsound_logerr2 (hr, typ, "Could not get " NAME " format\n");