Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
dd3e234c
Commit
dd3e234c
authored
Feb 04, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectSound: remove stray event handle
parent
db527697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
modules/audio_output/directsound.c
modules/audio_output/directsound.c
+0
-11
No files found.
modules/audio_output/directsound.c
View file @
dd3e234c
...
...
@@ -102,7 +102,6 @@ struct aout_sys_t
* secondary buffers into the primary) */
LPDIRECTSOUNDNOTIFY
p_notify
;
HANDLE
hnotify_evt
;
struct
{
float
volume
;
...
...
@@ -888,15 +887,6 @@ static int Open(vlc_object_t *obj)
aout_VolumeReport
(
aout
,
sys
->
volume
.
volume
);
MuteSet
(
aout
,
var_InheritBool
(
aout
,
"mute"
));
sys
->
hnotify_evt
=
CreateEvent
(
NULL
,
FALSE
,
TRUE
,
NULL
);
if
(
!
sys
->
hnotify_evt
)
{
msg_Err
(
aout
,
"cannot create Event"
);
FreeLibrary
(
sys
->
hdsound_dll
);
free
(
sys
);
return
VLC_EGENERIC
;
}
/* DirectSound does not support hot-plug events (unless with WASAPI) */
char
**
ids
,
**
names
;
int
count
=
ReloadDirectXDevices
(
obj
,
NULL
,
&
ids
,
&
names
);
...
...
@@ -925,7 +915,6 @@ static void Close(vlc_object_t *obj)
aout_sys_t
*
sys
=
aout
->
sys
;
var_Destroy
(
aout
,
"directx-audio-device"
);
CloseHandle
(
sys
->
hnotify_evt
);
FreeLibrary
(
sys
->
hdsound_dll
);
/* free DSOUND.DLL */
free
(
sys
);
}
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