-
Notifications
You must be signed in to change notification settings - Fork 455
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
Beginning of Flac file is skipped #103
Comments
I can't really find a bug inside of the FlacDecoder. If I compare it with the original libflac used by audacity it looks like this: http://fs5.directupload.net/images/160605/r32suxq9.png |
Hmm, not sure what you mean, isn't the FlacFile class enough to decode? I also have a wav file for comparison, if you comment the load flac and uncomment the load wav it plays fine on both mac and windows. |
I would guess the problem is somewhere within the OpenAL implementation. You can try it out with the experimental OpenAL implementation of CSCore (see corresponding branch). |
Tried to read the following FLAC file (and feeding it to OpenAL via OpenTK):
1.FLAC.zip
It skips a few seconds of the beginning of the sample (the file itself is very small, so it only plays the last 3 seconds or so).
I tried a large FLAC file and it sounded fine.
The code I used to load the buffer:
I compiled CSCore source (downloaded today) with Mono 4.5 on a Mac (don't know if it's relevant).
The text was updated successfully, but these errors were encountered: