Does pulseaudio resample when source and sink sample rate / bits are identical?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Colin,
Thanks, yeah 'pacmd list-sink-inputs' confirms that no resampling is
happening.
One other question:  I presume that a sink volume setting for of 100% means
no attentuation or amplification is happening, correct?
Thanks,
Josh

On Sat, Jul 16, 2011 at 2:43 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:

> 'Twas brillig, and Joshua Redstone at 16/07/11 21:35 did gyre and gimble:
> > Yeah, I'm using TCP because the source audio is generated on a different
> > machine from the one that has the USB sound card.
>
> OK, well I guess that explains that :D
>
> > I have a laptop with an internet music player on it, and I have a settop
> > PC (pretty wimpy)  that has a USB audio card connected to my stereo.
> > I run the music player on my laptop because I want to control the audio
> > from my laptop, and running the player on the settop and using vnc/nx is
> > way to slow.
>
> Yup that all makes sense :)
>
> > So maybe the pulseaudio isn't doing any resampling work and is just
> > churning to copy bytes around.  Is there any optimizations I should have
> > set up?  In my /etc/pulse/default.pa <http://default.pa> I have:
> >    load-module module-native-protocol-tcp
> > auth-ip-acl=127.0.0.1;192.168.0.0/16 port=8675
>
> Seems fine to me.
>
> > On the whole, I'm pretty happy with the setup.  I'm trying to become an
> > audio-snob :) and so wanted to make sure all my audio bits from the
> > music player were getting to the sound card
> > without unnecessary transformations.
>
> You can check with "pacmd list-sink-inputs" It should tell you the
> resample method chosen for any given input. There was a bug that
> prevented this from being cleared out so the info might be a bit bogus
> at times for some streams, but I don't think that problem will show up.
>
> It should say:
>
>        resample method: (null)
>
> Or similar if no resampling is being done.
>
> Col
>
> --
>
> Colin Guthrie
> gmane(at)colin.guthr.ie
> http://colin.guthr.ie/
>
> Day Job:
>  Tribalogic Limited [http://www.tribalogic.net/]
> Open Source:
>  Mageia Contributor [http://www.mageia.org/]
>  PulseAudio Hacker [http://www.pulseaudio.org/]
>  Trac Hacker [http://trac.edgewall.org/]
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>



-- 
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110716/eede5c81/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux