summaryrefslogtreecommitdiff
path: root/plugins/mpgmad/mpgmad.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mpgmad/mpgmad.c')
-rw-r--r--plugins/mpgmad/mpgmad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index 7465a076..c6fd8ae1 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -684,6 +684,7 @@ cmp3_decode (void) {
plugin.info.channels = MAD_NCHANNELS(&frame.header);
mad_synth_frame(&synth,&frame);
+ deadbeef->playback_update_bitrate (frame.header.bitrate/1000);
int cachepos = (buffer.cachefill + buffer.cachepos) & CACHE_MASK;
int len = synth.pcm.length;