diff options
Diffstat (limited to 'src/decoder/plugins/OpusDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/OpusDecoderPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx index ab6ed06f5..0404e4a40 100644 --- a/src/decoder/plugins/OpusDecoderPlugin.cxx +++ b/src/decoder/plugins/OpusDecoderPlugin.cxx @@ -243,7 +243,7 @@ MPDOpusDecoder::HandleAudio(const ogg_packet &packet) throw cmd; if (packet.granulepos > 0) - client.SubmitTimestamp(double(packet.granulepos) + client.SubmitTimestamp(FloatDuration(packet.granulepos) / opus_sample_rate); } } |