Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wimachtendink opened this issue Jun 18, 2023 · 0 comments
Open

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

wimachtendink opened this issue Jun 18, 2023 · 0 comments

Comments

@wimachtendink
Copy link

wimachtendink commented Jun 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant