Skip to content

unknown frame size, unknown frame rate #16

@mvmn

Description

@mvmn

When using jflac for decoding flac files code like AudioSystem.getAudioFileFormat(inputFile).getFormat() returns format with "unknown frame size, unknown frame rate". This prevents playback with this format and conversion of this format via javax.sound.sampled APIs.

Why is the frame size deemed unknown though? If instead of obtaining format I obtain AudioInputStream, this returns proper value via audioInputStream.getFrameLength(), albeit long.

But audioInputStream.getFormat().getFrameSize() returns -1. How come?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions