Skip to content

Commit

Permalink
Show audio spectrum output for audio and voices
Browse files Browse the repository at this point in the history
  • Loading branch information
aNNiMON committed Sep 15, 2024
1 parent 39a44c3 commit 976fa6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void refine(@NotNull Parameters parameters) {
} else {
parameters.enable(AudioBitrate.ID);
}

});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class OutputFormatResolver implements ParametersResolver {
@Override
public void resolve(@NotNull Parameters parameters, @NotNull FileInfo fileInfo) {
final var outputFormat = switch (fileInfo.fileType()) {
case AUDIO, VOICE -> new OutputFormat(List.of(AUDIO, AUDIO_SPECTRUM), AUDIO);
case VIDEO -> forVideo(fileInfo);
case VIDEO_NOTE -> new OutputFormat(List.of(VIDEO_NOTE, VIDEO, AUDIO, AUDIO_SPECTRUM), VIDEO_NOTE);
case ANIMATION -> forAnimation(fileInfo);
Expand Down

0 comments on commit 976fa6e

Please sign in to comment.