X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fjack.c;h=f40340ee8c87417bd3a6a8c4141d736ee84cf296;hb=0a1ec743abc6f0c51ce747aeddcbd41c106ba9d8;hp=8d333aa9b0edb7a1eff4fa946864c1578976f4e2;hpb=35824733e305214dfada18dd6362cfa02a86dcd3;p=vlc diff --git a/modules/access/jack.c b/modules/access/jack.c index 8d333aa9b0..f40340ee8c 100644 --- a/modules/access/jack.c +++ b/modules/access/jack.c @@ -1,7 +1,7 @@ /***************************************************************************** * jack.c: JACK audio input module ***************************************************************************** - * Copyright (C) 2007 the VideoLAN team + * Copyright (C) 2007-2008 the VideoLAN team * Copyright (C) 2007 Société des arts technologiques * Copyright (C) 2007 Savoir-faire Linux * @@ -61,7 +61,7 @@ static void Close( vlc_object_t * ); #define CACHING_TEXT N_("Caching value in ms") #define CACHING_LONGTEXT N_( \ - "Make VLC buffer audio data capturer from jack for the specified " \ + "Make VLC buffer audio data captured from jack for the specified " \ "length in milliseconds." ) #define PACE_TEXT N_( "Pace" ) #define PACE_LONGTEXT N_( \ @@ -70,12 +70,12 @@ static void Close( vlc_object_t * ); #define AUTO_CONNECT_LONGTEXT N_( \ "Automatically connect VLC input ports to available output ports." ) -vlc_module_begin(); - set_description( N_("JACK audio input") ); - set_capability( "access_demux", 0 ); - set_shortname( N_( "JACK Input" ) ); - set_category( CAT_INPUT ); - set_subcategory( SUBCAT_INPUT_ACCESS ); +vlc_module_begin () + set_description( N_("JACK audio input") ) + set_capability( "access_demux", 0 ) + set_shortname( N_( "JACK Input" ) ) + set_category( CAT_INPUT ) + set_subcategory( SUBCAT_INPUT_ACCESS ) add_integer( "jack-input-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, true ); @@ -84,9 +84,9 @@ vlc_module_begin(); add_bool( "jack-input-auto-connect", false, NULL, AUTO_CONNECT_TEXT, AUTO_CONNECT_LONGTEXT, true ); - add_shortcut( "jack" ); - set_callbacks( Open, Close ); -vlc_module_end(); + add_shortcut( "jack" ) + set_callbacks( Open, Close ) +vlc_module_end () /***************************************************************************** * Local prototypes @@ -170,7 +170,7 @@ static int Open( vlc_object_t *p_this ) } /* find some specifics ports if user entered a regexp */ - if( p_sys->psz_ports) + if( p_sys->psz_ports ) { Port_finder( p_demux ); if( p_sys->i_channels == 0 )