Mercurial > audlegacy
diff src/audacious/output.c @ 4235:2d4b4f13d10d
set_replaygain_info added to PAPI
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Thu, 31 Jan 2008 14:15:12 +0300 |
parents | b293ce14a01a |
children | 8f6956130372 |
line wrap: on
line diff
--- a/src/audacious/output.c Thu Jan 31 12:04:13 2008 +0300 +++ b/src/audacious/output.c Thu Jan 31 14:15:12 2008 +0300 @@ -487,6 +487,7 @@ (op_state.rate == rate && op_state.nch == nch && op_state.fmt == fmt)) { /* Yes, and it's the correct sampling rate. Reset the counter and go. */ + AUDDBG("flushing output instead of reopening\n"); op->flush(0); return 1; } @@ -668,6 +669,7 @@ } SAD_dither_process_buffer(sad_state, ptr, sad_out_buf, frames); ptr = sad_out_buf; + length = len; } if (op_state.fmt == FMT_S16_NE || (op_state.fmt == FMT_S16_LE && G_BYTE_ORDER == G_LITTLE_ENDIAN) || @@ -724,3 +726,10 @@ writeoffs += writable; } } + +/* called by input plugin when RG info available */ +void +output_set_replaygain_info (InputPlayback *pb, ReplayGainInfo *rg_info) +{ + /*stub*/ +}