#262: Pulseaudio should switch sample rates when possible ----------------------+----------------------------------------------------- Reporter: Florob | Owner: lennart Type: defect | Status: closed Priority: normal | Milestone: Component: daemon | Severity: normal Resolution: wontfix | Keywords: ----------------------+----------------------------------------------------- Comment (by Florob):
Replying to [comment:4 lennart]: > Florob: Resampling won't cause you stuttering music. Not on any hardware that is newer than 10 years. However, if we'd switch sampling rates all the times when a new client connects and requests a different rate and have to close and reopen the audio device for that then you would certainly hear that as nasty drop outs. Just think of this case: you play two streams at the same time. First you start one with 8khz sampling rate. When it is half way through you start one at 44khz. In the world you are requesting we'd first open the audio device in 8khz and as soon as the second stream starts to close it and reopen it in 44khz. You will certainly hear that, the first stream will be interrupted for a short time! So in short: what you are requesting will cause bad sound quality. I don't know if you realize how bad an impression you make saying the problem your users are having does not exist. The fact is. No pulseaudio, everything is fine. Pulseaudio with one or multiple streams at default sample rate, fine. Pulseaudio with one stream not at default sample rate, works with relatively high CPU usage. Pulseaudio with two streams not at default sample rate, epic fail. And my hardware is newer then 10 years... Maybe the SSE change will help but as a matter of fact Pulsaudio is useless for me right now. If you say it's not resampling you are welcome to suggest what else is causing this trouble. I short: I don't really tell you how to write your software and you know way more about Linux audio I guess, but please don't tell me I'm imagining things, be helpfull instead. Please. -- Ticket URL: <http://www.pulseaudio.org/ticket/262#comment:9> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets