[vlc-commits] auhal: cosmetics

Felix Paul Kühne git at videolan.org
Thu Apr 25 19:05:52 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Apr 25 18:41:08 2013 +0200| [605feec52f8f707321ba61d9c15d66d2b131d283] | committer: Felix Paul Kühne

auhal: cosmetics

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=605feec52f8f707321ba61d9c15d66d2b131d283
---

 modules/audio_output/auhal.c |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 2558de6..2b63590 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -529,11 +529,11 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
             }
             if (fmt->i_physical_channels == 0) {
                 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",
                                 _("You should configure your speaker layout with "
-                                  "the \"Audio Midi Setup\" utility in /Applications/"
-                                  "Utilities. Stereo mode is being used now."));
+                                  "\"Audio Midi Setup\" in /Applications/"
+                                  "Utilities. VLC will output Stereo only."));
             }
         }
         free(layout);
@@ -1136,9 +1136,8 @@ static int VolumeSet(audio_output_t * p_aout, float volume)
     struct aout_sys_t *p_sys = p_aout->sys;
     OSStatus ostatus;
 
-    if(p_sys->b_digital) {
+    if(p_sys->b_digital)
         return VLC_EGENERIC;
-    }
 
     aout_VolumeReport(p_aout, volume);
 
@@ -1161,9 +1160,8 @@ static int MuteSet(audio_output_t * p_aout, bool mute)
     struct   aout_sys_t *p_sys = p_aout->sys;
     OSStatus ostatus;
 
-    if(p_sys->b_digital) {
+    if(p_sys->b_digital)
         return VLC_EGENERIC;
-    }
 
     aout_MuteReport(p_aout, mute);
 



More information about the vlc-commits mailing list