ogg_opus: Fix tabs messing up printf alignment.

This commit is contained in:
Arthur Taylor 2021-03-31 10:25:15 -07:00
parent fe51e9b093
commit e79f45dac7

View File

@ -410,10 +410,10 @@ static void
opus_print_header (SF_PRIVATE *psf, OpusHeader *h) opus_print_header (SF_PRIVATE *psf, OpusHeader *h)
{ psf_log_printf (psf, "Opus Header Metadata\n") ; { psf_log_printf (psf, "Opus Header Metadata\n") ;
psf_log_printf (psf, " OggOpus version : %d\n", h->version) ; psf_log_printf (psf, " OggOpus version : %d\n", h->version) ;
psf_log_printf (psf, " Channels : %d\n", h->channels) ; psf_log_printf (psf, " Channels : %d\n", h->channels) ;
psf_log_printf (psf, " Preskip : %d samples @48kHz\n", h->preskip) ; psf_log_printf (psf, " Preskip : %d samples @48kHz\n", h->preskip) ;
psf_log_printf (psf, " Input Samplerate : %d Hz\n", h->input_samplerate) ; psf_log_printf (psf, " Input Samplerate : %d Hz\n", h->input_samplerate) ;
psf_log_printf (psf, " Gain : %d.%d\n", arith_shift_right (h->gain & 0xF0, 8), h->gain & 0x0F) ; psf_log_printf (psf, " Gain : %d.%d\n", arith_shift_right (h->gain & 0xF0, 8), h->gain & 0x0F) ;
psf_log_printf (psf, " Channel Mapping : ") ; psf_log_printf (psf, " Channel Mapping : ") ;
switch (h->channel_mapping) switch (h->channel_mapping)
{ case 0 : psf_log_printf (psf, "0 (mono or stereo)\n") ; break ; { case 0 : psf_log_printf (psf, "0 (mono or stereo)\n") ; break ;
@ -426,7 +426,7 @@ opus_print_header (SF_PRIVATE *psf, OpusHeader *h)
{ int i ; { int i ;
psf_log_printf (psf, " streams total : %d\n", h->nb_streams) ; psf_log_printf (psf, " streams total : %d\n", h->nb_streams) ;
psf_log_printf (psf, " streams coupled : %d\n", h->nb_coupled) ; psf_log_printf (psf, " streams coupled : %d\n", h->nb_coupled) ;
psf_log_printf (psf, " stream mapping : [") ; psf_log_printf (psf, " stream mapping : [") ;
for (i = 0 ; i < h->channels - 1 ; i++) for (i = 0 ; i < h->channels - 1 ; i++)
psf_log_printf (psf, "%d,", h->stream_map [i]) ; psf_log_printf (psf, "%d,", h->stream_map [i]) ;
psf_log_printf (psf, "%d]\n", h->stream_map [i]) ; psf_log_printf (psf, "%d]\n", h->stream_map [i]) ;