Skip to content

WaveFile: Compiler Warning (level 2) CS0652 @ line 134 #82

Description

@wimachtendink

Probably very low priority, here there's a comparison that's throwing a compiler warning

WaveFile.cs @ line 134:

if (waveFmt.AudioFormat == 0xFFFE)
{
    waveFmt.AudioFormat = fmtSubFormatCode;
}

My guess is that this should be a WaveFormat.AudioFormat should be a ushort or perhaps the comparison should be some sort of byte comparison.

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