[pulseaudio-tickets] [Bug 49714] New: The ffmpeg resampler implementation could be improved

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 9 21:56:15 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49714

             Bug #: 49714
           Summary: The ffmpeg resampler implementation could be improved
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: tanuk at iki.fi
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


It looks like the ffmpeg resampler implementation doesn't suffer from bug
47156, but the solution for leftover data doesn't seem entirely correct: if
there is leftover data, it's not taken into account in pa_resampler_result(),
pa_resampler_max_block_size() and pa_resampler_reset().

I originally started to write this bug report, because there seemed to be
unnecessary copying of data going on in ffmpeg_resample(), but that's probably
not the case, because the ffmpeg resampler handles only mono audio, so
multichannel data has to be deinterleaved for processing and again interleaved
after processing. If the input is mono to begin with, then there would be room
for optimizing for that case still, though.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list