Changeset 5270:e25346c13638 in roaraudio for roard
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/Makefile
r5242 r5270 19 19 INCLUDE = -I../include -I./include 20 20 CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(PKGDEFINES) $(INCLUDE) $(INCPATH) 21 LDFLAGS += -g - rdynamic -L../lib/ $(LDPATH)21 LDFLAGS += -g -Wall -rdynamic -L../lib/ $(LDPATH) 22 22 DRVLIBS = $(lib_esd) $(lib_ossaudio) $(lib_ao) $(lib_shout) $(lib_sndio) $(lib_rsound) $(lib_portaudio) $(lib_pablio) $(lib_asound) $(lib_winmm) $(lib_pulse_simple) $(lib_pulse) $(lib_jack) $(lib_artsc) 23 23 CODEC_CELT= $(lib_celt) $(lib_celt0) -
roard/codecfilter_alaw.c
r4957 r5270 38 38 struct roar_stream * s = ROAR_STREAM(info); 39 39 40 (void)codec, (void)filter; 40 41 41 42 *inst = (CODECFILTER_USERDATA_T) info; … … 48 49 49 50 int cf_alaw_close(CODECFILTER_USERDATA_T inst) { 51 (void)inst; 50 52 return 0; 51 53 } -
roard/codecfilter_au.c
r5210 r5270 34 34 struct roar_stream * s = ROAR_STREAM(info); 35 35 36 if ( !self ) 36 (void)codec, (void)filter; 37 38 if ( self == NULL ) 37 39 return -1; 38 40 … … 99 101 return -1; 100 102 101 if ( stream_vio_s_read(self->stream, extra_header, header[1]) != header[1] ) {103 if ( stream_vio_s_read(self->stream, extra_header, header[1]) != (ssize_t)header[1] ) { 102 104 roar_mm_free(extra_header); 103 105 return -1; … … 275 277 int_least32_t type = cmd & ROAR_STREAM_CTL_TYPEMASK; 276 278 279 (void)data; 280 277 281 cmd -= type; 278 282 -
roard/codecfilter_celt.c
r4957 r5270 37 37 struct roar_stream * s = ROAR_STREAM(info); 38 38 39 if ( !self ) 39 (void)codec, (void)filter; 40 41 if ( self == NULL ) 40 42 return -1; 41 43 -
roard/codecfilter_mulaw.c
r4957 r5270 38 38 struct roar_stream * s = ROAR_STREAM(info); 39 39 40 (void)codec, (void)filter; 40 41 41 42 *inst = (CODECFILTER_USERDATA_T) info; … … 48 49 49 50 int cf_mulaw_close(CODECFILTER_USERDATA_T inst) { 51 (void)inst; 50 52 return 0; 51 53 } -
roard/codecfilter_sndfile.c
r4957 r5270 32 32 struct roar_codecfilter * filter) { 33 33 struct codecfilter_sndfile_inst * obj; 34 35 (void)codec, (void)filter; 34 36 35 37 if ( (obj = (struct codecfilter_sndfile_inst *) roar_mm_malloc(sizeof(struct codecfilter_sndfile_inst))) == NULL ) -
roard/codecfilter_vorbis.c
r5218 r5270 71 71 struct roar_stream * s = ROAR_STREAM(info); 72 72 73 if ( !self ) 73 (void)codec, (void)filter; 74 75 if ( self == NULL ) 74 76 return -1; 75 77 -
roard/emul_rsound.c
r4739 r5270 39 39 char c[16]; 40 40 } buf; 41 42 (void)lsock; 41 43 42 44 // TODO: add error handling -
roard/signals.c
r4708 r5270 38 38 39 39 void on_sig_term (int signum) { 40 (void)signum; 41 40 42 ROAR_INFO("got SIGTERM (or called by SIGINT handler)", ROAR_DBG_INFO_NOTICE); 41 43 … … 45 47 46 48 void on_sig_chld (int signum) { 49 (void)signum; 50 47 51 ROAR_INFO("got SIGCHLD", ROAR_DBG_INFO_NOTICE); 48 52 … … 53 57 54 58 void on_sig_usr1 (int signum) { 59 (void)signum; 60 55 61 ROAR_INFO("got SIGUSR1", ROAR_DBG_INFO_NOTICE); 56 62
Note: See TracChangeset
for help on using the changeset viewer.