Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fb6c8449
Commit
fb6c8449
authored
Aug 02, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wasapi: assign session identifier (fix #7200)
parent
de3ebb99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/audio_output/wasapi.c
modules/audio_output/wasapi.c
+5
-1
No files found.
modules/audio_output/wasapi.c
View file @
fb6c8449
...
@@ -35,6 +35,9 @@
...
@@ -35,6 +35,9 @@
#include <vlc_aout.h>
#include <vlc_aout.h>
#include <vlc_charset.h>
#include <vlc_charset.h>
DEFINE_GUID
(
GUID_VLC_AUD_OUT
,
0x4533f59d
,
0x59ee
,
0x00c6
,
0xad
,
0xb2
,
0xc6
,
0x8b
,
0x50
,
0x1a
,
0x66
,
0x55
);
static
int
Open
(
vlc_object_t
*
);
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
...
@@ -560,7 +563,8 @@ static int Open(vlc_object_t *obj)
...
@@ -560,7 +563,8 @@ static int Open(vlc_object_t *obj)
assert
(
pwf
==
NULL
);
assert
(
pwf
==
NULL
);
hr
=
IAudioClient_Initialize
(
sys
->
client
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
hr
=
IAudioClient_Initialize
(
sys
->
client
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
AOUT_MAX_PREPARE_TIME
*
10
,
0
,
AOUT_MAX_PREPARE_TIME
*
10
,
0
,
(
hr
==
S_OK
)
?
&
wf
.
Format
:
pwf
,
NULL
);
(
hr
==
S_OK
)
?
&
wf
.
Format
:
pwf
,
&
GUID_VLC_AUD_OUT
);
CoTaskMemFree
(
pwf
);
CoTaskMemFree
(
pwf
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
{
{
...
...
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