Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
5a27a456
Unverified
Commit
5a27a456
authored
Feb 23, 2019
by
Hein-Pieter van Braam
Committed by
GitHub
Feb 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26158 from marcelofg55/wasapi_init_err
Extended WASAPI Initialize error message
parents
7f63b0e8
548a66a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
audio_driver_wasapi.cpp
drivers/wasapi/audio_driver_wasapi.cpp
+1
-0
No files found.
drivers/wasapi/audio_driver_wasapi.cpp
View file @
5a27a456
...
...
@@ -270,6 +270,7 @@ Error AudioDriverWASAPI::audio_device_init(AudioDeviceWASAPI *p_device, bool p_c
}
hr
=
p_device
->
audio_client
->
Initialize
(
AUDCLNT_SHAREMODE_SHARED
,
streamflags
,
p_capture
?
REFTIMES_PER_SEC
:
0
,
0
,
pwfex
,
NULL
);
ERR_EXPLAIN
(
"WASAPI: Initialize failed with error 0x"
+
String
::
num_uint64
(
hr
,
16
));
ERR_FAIL_COND_V
(
hr
!=
S_OK
,
ERR_CANT_OPEN
);
if
(
p_capture
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment