[pulseaudio-tickets] [Bug 57503] New: Playing audio with smart resampling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 25 01:49:07 PST 2012


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

          Priority: medium
            Bug ID: 57503
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Playing audio with smart resampling
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mathojojo at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: daemon
           Product: PulseAudio

Hello,

It's not really a bug I'm describbing, but a feature.

By default, pulseaudio is resampling all audio streams to 16bit 44.1 Khz
format, if set so.

It would be much better if pulseaudio smartly choose the best resampling
format, while analysing what client is playing.

There should be maybe 3 or 4 level :

 First   : - All audio players (Amarok, Clementine, Listen, Rhythmbox,...)

 Second  : - Video players (VLC, Dragon PLayer, mplayer ...)
           - Games

 Third   : - System sounds
           - Flash plugin
           - All other sound clients ....


When you are playing an audio file (and more if it is a lossless audio file),
you expect this file to be played in his native format, without any compression
or resampling process.

If this file is 24b-192KHz, then pulseaudio should dynamically switch to this
format, and all other sounds (system, video, ...) should be resampled to this
format too.
If this file is a 16b-44.1KHz, it should be played so, even if a video playing
at the same moment is using a better format... (the sound from the video should
be then resampled to 16b-44.1KHz.

If nothing is played but system sounds, then those system sounds should be
played in the system sound native format...

All is finally sorted by priority.


Actually, If I want to play my files (most flac, but I have variety of them
from 16b 44.1KHz to 24b-192KHz) in the native format, I need to uninstall
pulseaudio. But doing so, I can't play sounds from more than 1 source anymore.

Please, make pulseaudio even more smart.

Thank you.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20121125/4294ad18/attachment.html>


More information about the pulseaudio-bugs mailing list