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
32a596a1
Commit
32a596a1
authored
Jan 24, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auhal: fixed 'Pause' in SPDIF mode
parent
86b9f5b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
modules/audio_output/auhal.c
modules/audio_output/auhal.c
+12
-4
No files found.
modules/audio_output/auhal.c
View file @
32a596a1
...
...
@@ -1277,12 +1277,20 @@ static void Play (audio_output_t * p_aout, block_t * p_block)
static
void
Pause
(
audio_output_t
*
p_aout
,
bool
pause
,
mtime_t
date
)
{
struct
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
VLC_UNUSED
(
date
);
if
(
pause
)
AudioOutputUnitStop
(
p_aout
->
sys
->
au_unit
);
else
AudioOutputUnitStart
(
p_aout
->
sys
->
au_unit
);
if
(
p_aout
->
sys
->
b_digital
)
{
if
(
pause
)
AudioDeviceStop
(
p_sys
->
i_selected_dev
,
p_sys
->
i_procID
);
else
AudioDeviceStart
(
p_sys
->
i_selected_dev
,
p_sys
->
i_procID
);
}
else
{
if
(
pause
)
AudioOutputUnitStop
(
p_sys
->
au_unit
);
else
AudioOutputUnitStart
(
p_sys
->
au_unit
);
}
}
static
void
Flush
(
audio_output_t
*
p_aout
,
bool
wait
)
...
...
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