mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibAudio: Add a sample count hinting mechanism to audio encoding
This commit is contained in:
parent
0960a92670
commit
b4b411b8a3
2 changed files with 7 additions and 0 deletions
|
@ -141,6 +141,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (writer.has_value())
|
||||
(*writer)->sample_count_hint(input_loader->total_samples());
|
||||
|
||||
if (output != "-"sv)
|
||||
out("Writing: \033[s");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue