Changeset 5651:b0e163908378 in roaraudio for roard
- Timestamp:
- 09/12/12 16:22:42 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_flac.c
r5624 r5651 153 153 if ( stream_meta_add(ROAR_STREAM(self->ss)->id, type, "", value) == -1 ) { 154 154 ROAR_WARN("cf_flac_cb_metadata(..., client_data=%p{ROAR_STREAM(.ss)->id=%i}): Can not add meta data: %s", 155 ROAR_STREAM(self->ss)->id, roar_error2str(roar_error));155 self->ss, ROAR_STREAM(self->ss)->id, roar_error2str(roar_error)); 156 156 } 157 157 -
roard/codecfilter_vorbis.c
r5625 r5651 48 48 r = stream_vio_s_read(ROAR_STREAM_SERVER(datasource), ptr, size*nmemb); 49 49 50 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p): r=%i", ptr, size,nmemb, datasource, r);50 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p): r=%i", ptr, (unsigned long int)size, (unsigned long int)nmemb, datasource, r); 51 51 52 52 if ( r == -1 ) { 53 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p) = 0 // roar_error=%i(%s)", ptr, size,nmemb, datasource, roar_error, roar_error2str(roar_error));53 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p) = 0 // roar_error=%i(%s)", ptr, (unsigned long int)size, (unsigned long int)nmemb, datasource, roar_error, roar_error2str(roar_error)); 54 54 return 0; 55 55 } … … 61 61 r /= size; 62 62 63 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p) = %i", ptr, size,nmemb, datasource, r);63 ROAR_DBG("cf_vorbis_vfvio_read(ptr=%p, size=%lu, nmemb=%lu, datasource=%p) = %i", ptr, (unsigned long int)size, (unsigned long int)nmemb, datasource, r); 64 64 return r; 65 65 } … … 289 289 } 290 290 291 ROAR_DBG("ov_read(*) = % i",done);291 ROAR_DBG("ov_read(*) = %li", (long int)done); 292 292 293 293 if ( done == 0 ) { -
roard/lib.c
r5619 r5651 32 32 size_t i; 33 33 34 ROAR_WARN("lib_run_bg(cmd='%s', ...): This function should never be called. Contact devels." );34 ROAR_WARN("lib_run_bg(cmd='%s', ...): This function should never be called. Contact devels.", cmd); 35 35 36 36 child = roar_fork(NULL); -
roard/midi.c
r5417 r5651 823 823 824 824 if ( streams_get_flag(g_midi_clock.stream, ROAR_FLAG_SYNC) ) { 825 ROAR_DBG("midi_clock_tick(void): TICK! (nt=%lu)", g_midi_clock.nt);825 ROAR_DBG("midi_clock_tick(void): TICK! (nt=%lu)", (unsigned long int)g_midi_clock.nt); 826 826 if ( midi_new_bufmes(&buf, &mes) == -1 ) { 827 827 ROAR_ERR("midi_clock_tick(void): Can not create Clock-Tick-Message"); … … 839 839 ss->state = ROAR_STREAMSTATE_OLD; 840 840 } else { 841 ROAR_DBG("midi_clock_tick(void): silent tick. (nt=%lu)", g_midi_clock.nt);841 ROAR_DBG("midi_clock_tick(void): silent tick. (nt=%lu)", (unsigned long int)g_midi_clock.nt); 842 842 } 843 843 } -
roard/roard.c
r5624 r5651 977 977 protoname = roar_proto2str(g_listen[i].proto); 978 978 if ( protoname == NULL ) { 979 ROAR_ERR("check_listen(void): protocol %i is unknown (protocol ID not assigned?)." );979 ROAR_ERR("check_listen(void): protocol %i is unknown (protocol ID not assigned?).", g_listen[i].proto); 980 980 } else { 981 981 ROAR_DBG("check_listen(void): Unknown protocol %s(%i) is used.", protoname, g_listen[i].proto); … … 1226 1226 if ( roar_x11_delete_prop(x11con, "ROAR_SERVER") == -1 ) { 1227 1227 ret = -1; 1228 ROAR_ERR("Error while unregistereing from X11" , ROAR_DBG_INFO_INFO);1228 ROAR_ERR("Error while unregistereing from X11"); 1229 1229 } else { 1230 1230 ROAR_INFO("Successfully unregistered from X11", ROAR_DBG_INFO_INFO); … … 1233 1233 if ( roar_x11_set_prop(x11con, "ROAR_SERVER", sockname) == -1 ) { 1234 1234 ret = -1; 1235 ROAR_ERR("Error while registereing to X11" , ROAR_DBG_INFO_INFO);1235 ROAR_ERR("Error while registereing to X11"); 1236 1236 } else { 1237 1237 ROAR_INFO("Successfully registered to X11", ROAR_DBG_INFO_INFO);
Note: See TracChangeset
for help on using the changeset viewer.