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
605feec5
Commit
605feec5
authored
Apr 25, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auhal: cosmetics
parent
3ac2b4f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
modules/audio_output/auhal.c
modules/audio_output/auhal.c
+5
-7
No files found.
modules/audio_output/auhal.c
View file @
605feec5
...
@@ -529,11 +529,11 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
...
@@ -529,11 +529,11 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
}
}
if
(
fmt
->
i_physical_channels
==
0
)
{
if
(
fmt
->
i_physical_channels
==
0
)
{
fmt
->
i_physical_channels
=
AOUT_CHANS_STEREO
;
fmt
->
i_physical_channels
=
AOUT_CHANS_STEREO
;
msg_Err
(
p_aout
,
"You should configure your speaker layout with Audio Midi Setup
Utility in /Applications/Utilities. Now using Stereo mode
."
);
msg_Err
(
p_aout
,
"You should configure your speaker layout with Audio Midi Setup
in /Applications/Utilities. VLC will output Stereo only
."
);
dialog_Fatal
(
p_aout
,
_
(
"Audio device is not configured"
),
"%s"
,
dialog_Fatal
(
p_aout
,
_
(
"Audio device is not configured"
),
"%s"
,
_
(
"You should configure your speaker layout with "
_
(
"You should configure your speaker layout with "
"
the
\"
Audio Midi Setup
\"
utility
in /Applications/"
"
\"
Audio Midi Setup
\"
in /Applications/"
"Utilities.
Stereo mode is being used now
."
));
"Utilities.
VLC will output Stereo only
."
));
}
}
}
}
free
(
layout
);
free
(
layout
);
...
@@ -1136,9 +1136,8 @@ static int VolumeSet(audio_output_t * p_aout, float volume)
...
@@ -1136,9 +1136,8 @@ static int VolumeSet(audio_output_t * p_aout, float volume)
struct
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
struct
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
OSStatus
ostatus
;
OSStatus
ostatus
;
if
(
p_sys
->
b_digital
)
{
if
(
p_sys
->
b_digital
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
aout_VolumeReport
(
p_aout
,
volume
);
aout_VolumeReport
(
p_aout
,
volume
);
...
@@ -1161,9 +1160,8 @@ static int MuteSet(audio_output_t * p_aout, bool mute)
...
@@ -1161,9 +1160,8 @@ static int MuteSet(audio_output_t * p_aout, bool mute)
struct
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
struct
aout_sys_t
*
p_sys
=
p_aout
->
sys
;
OSStatus
ostatus
;
OSStatus
ostatus
;
if
(
p_sys
->
b_digital
)
{
if
(
p_sys
->
b_digital
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
aout_MuteReport
(
p_aout
,
mute
);
aout_MuteReport
(
p_aout
,
mute
);
...
...
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