Skip to content

input_frames_used returned by src_process may be less than the number of input frames  #7

Description

@hcab14

(error, input_frames_used, output_frames_gen) = src_process(
self._state, input_data, output_data, ratio, end_of_input)

Currently input_frames_used is ignored.

This problem prevents python-samplerate to work correctly if the resampling ratio does not divide the block size provided to Resampler.process.

PR #6 is an attempt to fix this issue.

@tuxu: what would be the timeline for making a new release?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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