forked from enlightenment/efl
parent
7499e9dee0
commit
5c7967827b
|
@ -43,7 +43,7 @@ _edje_cc_log_cb(const Eina_Log_Domain *d,
|
|||
Eina_Log_Level level,
|
||||
const char *file,
|
||||
const char *fnc,
|
||||
int line,
|
||||
int cur_line,
|
||||
const char *fmt,
|
||||
EINA_UNUSED void *data,
|
||||
va_list args)
|
||||
|
@ -115,7 +115,7 @@ _edje_cc_log_cb(const Eina_Log_Domain *d,
|
|||
putc('\n', stderr);
|
||||
}
|
||||
else
|
||||
eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
|
||||
eina_log_print_cb_stderr(d, level, file, fnc, cur_line, fmt, NULL, args);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -40,7 +40,7 @@ disconnected(void *context EINA_UNUSED, EDBus_Connection *connection EINA_UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
client_name_owner_changed_cb(void *data, const char *bus, const char *old_id, const char *new_id)
|
||||
client_name_owner_changed_cb(void *data EINA_UNUSED, const char *bus, const char *old_id EINA_UNUSED, const char *new_id)
|
||||
{
|
||||
if (new_id[0])
|
||||
return;
|
||||
|
|
|
@ -378,7 +378,7 @@ _pulse_output_write_cb(pa_stream *stream, size_t len, void *data)
|
|||
Ecore_Audio_Input *in = (Ecore_Audio_Input *)data;
|
||||
|
||||
void *buf;
|
||||
int bread;
|
||||
size_t bread;
|
||||
|
||||
buf = malloc(len);
|
||||
|
||||
|
@ -422,7 +422,7 @@ _pulse_output_add_input(Ecore_Audio_Object *output, Ecore_Audio_Object *input)
|
|||
}
|
||||
|
||||
static void
|
||||
_pulse_drain_cb(pa_stream *stream, int success, void *data)
|
||||
_pulse_drain_cb(pa_stream *stream, int success EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
// XXX: Check success?
|
||||
pa_stream_disconnect(stream);
|
||||
|
@ -430,7 +430,7 @@ _pulse_drain_cb(pa_stream *stream, int success, void *data)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_pulse_output_del_input(Ecore_Audio_Object *output, Ecore_Audio_Object *input)
|
||||
_pulse_output_del_input(Ecore_Audio_Object *output EINA_UNUSED, Ecore_Audio_Object *input)
|
||||
{
|
||||
Ecore_Audio_Input *in = (Ecore_Audio_Input *)input;
|
||||
|
||||
|
@ -444,7 +444,7 @@ _pulse_output_del_input(Ecore_Audio_Object *output, Ecore_Audio_Object *input)
|
|||
}
|
||||
|
||||
static void
|
||||
_pulse_output_update_input_format(Ecore_Audio_Object *output, Ecore_Audio_Object *input)
|
||||
_pulse_output_update_input_format(Ecore_Audio_Object *output EINA_UNUSED, Ecore_Audio_Object *input)
|
||||
{
|
||||
Ecore_Audio_Input *in = (Ecore_Audio_Input *)input;
|
||||
pa_stream *stream = (pa_stream *)in->obj_data;
|
||||
|
@ -453,10 +453,10 @@ _pulse_output_update_input_format(Ecore_Audio_Object *output, Ecore_Audio_Object
|
|||
}
|
||||
|
||||
static int
|
||||
_pulse_input_read(Ecore_Audio_Object *input, void *data, int len)
|
||||
_pulse_input_read(Ecore_Audio_Object *input EINA_UNUSED, void *data EINA_UNUSED, int len EINA_UNUSED)
|
||||
{
|
||||
// XXX: Implement
|
||||
Ecore_Audio_Input *in = (Ecore_Audio_Input *)input;
|
||||
//Ecore_Audio_Input *in = (Ecore_Audio_Input *)input;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -310,6 +310,7 @@ _sndfile_output_write_cb(void *data)
|
|||
|
||||
// XXX: Check for errors
|
||||
written = sf_write_float(sndfile->handle, buf, bread/4)*4;
|
||||
DBG("written: %i", written);
|
||||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
@ -360,7 +361,7 @@ _sndfile_output_del_input(Ecore_Audio_Object *out EINA_UNUSED, Ecore_Audio_Objec
|
|||
}
|
||||
|
||||
static void
|
||||
_sndfile_output_update_input_format(Ecore_Audio_Object *out, Ecore_Audio_Object *in)
|
||||
_sndfile_output_update_input_format(Ecore_Audio_Object *out EINA_UNUSED, Ecore_Audio_Object *in EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,8 @@ Outbuf *
|
|||
evas_software_xlib_swapbuf_setup_x(int w, int h, int rot, Outbuf_Depth depth,
|
||||
Display *disp, Drawable draw, Visual *vis,
|
||||
Colormap cmap, int x_depth,
|
||||
int grayscale, int max_colors, Pixmap mask,
|
||||
int grayscale, int max_colors,
|
||||
Pixmap mask EINA_UNUSED,
|
||||
int shape_dither, int destination_alpha)
|
||||
{
|
||||
Outbuf *buf;
|
||||
|
@ -396,10 +397,9 @@ evas_software_xlib_swapbuf_flush(Outbuf *buf)
|
|||
}
|
||||
|
||||
void
|
||||
evas_software_xlib_swapbuf_idle_flush(Outbuf *buf)
|
||||
evas_software_xlib_swapbuf_idle_flush(Outbuf *buf EINA_UNUSED)
|
||||
{
|
||||
return;
|
||||
buf = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#include "Efreet.h"
|
||||
#define EFREET_MODULE_LOG_DOM /* no logging in this file */
|
||||
#include "efreet_private.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Reference in New Issue