decoder/flac: pass SignedSongTime to decoder_initialized()
This commit is contained in:
parent
2ca8d69126
commit
7f36923eb4
@ -146,7 +146,7 @@ flac_decoder_initialize(struct flac_data *data, FLAC__StreamDecoder *sd,
|
|||||||
/* done */
|
/* done */
|
||||||
|
|
||||||
const auto duration2 =
|
const auto duration2 =
|
||||||
SongTime::FromScale<uint64_t>(data->total_frames,
|
SignedSongTime::FromScale<uint64_t>(data->total_frames,
|
||||||
data->audio_format.sample_rate);
|
data->audio_format.sample_rate);
|
||||||
|
|
||||||
decoder_initialized(data->decoder, data->audio_format,
|
decoder_initialized(data->decoder, data->audio_format,
|
||||||
|
Loading…
Reference in New Issue
Block a user