encoder_sys_t *p_sys;
const SpeexMode *p_speex_mode = &speex_nb_mode;
int i_quality, i;
- char *pp_header[2];
+ const char *pp_header[2];
int pi_header[2];
uint8_t *p_extra;
} telnet_client_t;
static char *MessageToString( vlm_message_t *, int );
-static void Write_message( telnet_client_t *, vlm_message_t *, char *, int );
+static void Write_message( telnet_client_t *, vlm_message_t *, const char *, int );
struct intf_sys_t
{
}
static void Write_message( telnet_client_t *client, vlm_message_t *message,
- char *string_message, int i_mode )
+ const char *string_message, int i_mode )
{
char *psz_message;
uint8_t *p_peek;
unsigned int i_size, i_extended;
- char *psz_name;
+ const char *psz_name;
WAVEFORMATEXTENSIBLE *p_wf_ext;
WAVEFORMATEX *p_wf;
static playlist_item_t *PlaylistGetRoot( intf_thread_t * );
static void PlaylistRebuild( intf_thread_t * );
-static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, char *);
+static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, const char *);
static void PlaylistDestroy( intf_thread_t * );
static int PlaylistChanged( vlc_object_t *, const char *, vlc_value_t,
vlc_value_t, void * );
}
static void PlaylistAddNode( intf_thread_t *p_intf, playlist_item_t *p_node,
- int i, char *c )
+ int i, const char *c )
{
intf_sys_t *p_sys = p_intf->p_sys;
playlist_item_t *p_child;
if( p_sys->psz_current_dir && *p_sys->psz_current_dir )
{
- const char *psz_entry;
+ char *psz_entry;
/* Open the dir */
p_current_dir = utf8_opendir( p_sys->psz_current_dir );
#define NUM_GENRES 80
-static char *ppsz_genres[] = {
+static const char *ppsz_genres[] = {
N_("Blues"),
N_("Classic rock"),
N_("Country"),
"computing intensive. The range is 0 - 1000 ms." )
static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
-static char *ppsz_pos_descriptions[] =
+static const char *ppsz_pos_descriptions[] =
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
vlc_value_t, vlc_value_t, void * );
static struct
{
- char *psz_name;
+ const char *psz_name;
int (*pf_run)( visual_effect_t *, aout_instance_t *,
aout_buffer_t *, picture_t *);
} pf_effect_run[]=