Skip to content

Example not compiling due to type miss match #3

@a-hilaly

Description

@a-hilaly

Hi @MarkKremer - thanks for the package! I tried to run the example you built here , but i'm running into type miss match issues on line 65. I tried to manually build the write type

	err = wav.Encode(f, stream, beep.Format{
		SampleRate:  beep.SampleRate(format.SampleRate),
		NumChannels: format.NumChannels,
		Precision:   format.Precision,
	})

But still hitting a 2023/11/05 19:38:40 Sample format not supported error. Any guidance on this issue? Thanks again.

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