# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_aout.h>
#include <sys/socket.h>
* Module descriptor
*****************************************************************************/
vlc_module_begin();
- set_description( _("EsounD audio output") );
+ set_description( N_("EsounD audio output") );
set_shortname( "EsounD" );
set_capability( "audio output", 50 );
- add_string( "esdserver", "", NULL, N_("Esound server"), NULL, VLC_FALSE );
+ add_string( "esdserver", "", NULL, N_("Esound server"), NULL, false );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AOUT );
set_callbacks( Open, Close );
*****************************************************************************
* This function writes a buffer of i_length bytes in the socket
*****************************************************************************/
-static void Play( aout_thread_t *p_aout, byte_t *buffer, int i_size )
+static void Play( aout_thread_t *p_aout, uint8_t *buffer, int i_size )
{
int i_amount;