]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/jack.c
macosx: Remove VLCEmbeddedDetachedVout because it's not used. (Or at leat doesn't...
[vlc] / modules / audio_output / jack.c
index c5d87122a1f27014f33879c2dddb4e6b2b72dff8..c8345db4a0e325757bc0ec64a0a8179c662c8b81 100644 (file)
@@ -34,7 +34,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 #include <vlc_aout.h>
 
 #include <jack/jack.h>
@@ -80,7 +81,7 @@ static int  Process      ( jack_nframes_t i_frames, void *p_arg );
  *****************************************************************************/
 vlc_module_begin();
     set_shortname( "JACK" );
-    set_description( _("JACK audio output") );
+    set_description( N_("JACK audio output") );
     set_capability( "audio output", 100 );
     set_category( CAT_AUDIO );
     set_subcategory( SUBCAT_AUDIO_AOUT );
@@ -107,7 +108,6 @@ static int Open( vlc_object_t *p_this )
     p_sys = calloc( 1, sizeof( aout_sys_t ) );
     if( p_sys == NULL )
     {
-        msg_Err( p_aout, "out of memory" );
         status = VLC_ENOMEM;
         goto error_out;
     }
@@ -142,7 +142,6 @@ static int Open( vlc_object_t *p_this )
                                   sizeof(jack_port_t *) );
     if( p_sys->p_jack_ports == NULL )
     {
-        msg_Err( p_aout, "out of memory" );
         status = VLC_ENOMEM;
         goto error_out;
     }
@@ -151,7 +150,6 @@ static int Open( vlc_object_t *p_this )
                                     sizeof(jack_sample_t *) );
     if( p_sys->p_jack_buffers == NULL )
     {
-        msg_Err( p_aout, "out of memory" );
         status = VLC_ENOMEM;
         goto error_out;
     }