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

Read operations do not start at the start of the file #98

Open
sprague252 opened this issue Jun 1, 2021 · 0 comments
Open

Read operations do not start at the start of the file #98

sprague252 opened this issue Jun 1, 2021 · 0 comments

Comments

@sprague252
Copy link

When I pass an open IOStream to wavread or read_header, it generates an error if the file is not at the top. This is problematic if I have already done something with the file or if I have already called another of the WAV functions with the file. The workaround is to call seekstart(filehandle) before calling the WAV function. I suggest that you call seekstart at the beginning of the functions to avoid this issue.

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