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

aufile: ptime zero check for ausrc #3056

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

cspiel1
Copy link
Collaborator

@cspiel1 cspiel1 commented Jun 6, 2024

Reading a WAV file as fast as possible can be done with aufile_open() from re.

So we simply could make ptime==0 unsupported, and return EINVAL in such a case.

@cspiel1 cspiel1 marked this pull request as draft June 6, 2024 05:43
@cspiel1 cspiel1 force-pushed the aufile_ptime_zero branch from ac0c6ad to 17b2c43 Compare June 6, 2024 05:46
@cspiel1 cspiel1 marked this pull request as ready for review June 6, 2024 05:48
@cspiel1 cspiel1 changed the title aufile: support zero ptime for ausrc aufile: ptime zero check for ausrc Jun 6, 2024
@alfredh alfredh merged commit de04b6e into baresip:main Jun 6, 2024
18 checks passed
@cspiel1 cspiel1 deleted the aufile_ptime_zero branch June 6, 2024 08:00
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

Successfully merging this pull request may close these issues.

2 participants