mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibAudio: Seek to the first frame on reset in FLAC
The files weren't starting exactly from the beginning before. This happened because the parameter now takes the sample index, instead of a seekpoint.
This commit is contained in:
parent
2878ad681e
commit
fe60459353
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ ErrorOr<FlacRawMetadataBlock, LoaderError> FlacLoaderPlugin::next_meta_block(Big
|
|||
|
||||
MaybeLoaderError FlacLoaderPlugin::reset()
|
||||
{
|
||||
TRY(seek(m_data_start_location));
|
||||
TRY(seek(0));
|
||||
m_current_frame.clear();
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue