Home
AudioAsylum Trader
Computer Audio Asylum

Music servers and other computer based digital audio technologies.

For Sale Ads

FAQ / News / Events

 

Use this form to submit comments directly to the Asylum moderators for this forum. We're particularly interested in truly outstanding posts that might be added to our FAQs.

You may also use this form to provide feedback or to call attention to messages that may be in violation of our content rules.

You must login to use this feature.

Inmate Login


Login to access features only available to registered Asylum Inmates.
    By default, logging in will set a session cookie that disappears when you close your browser. Clicking on the 'Remember my Moniker & Password' below will cause a permanent 'Login Cookie' to be set.

Moniker/Username:

The Name that you picked or by default, your email.
Forgot Moniker?

 
 

Examples "Rapper", "Bob W", "joe@aol.com".

Password:    

Forgot Password?

 Remember my Moniker & Password ( What's this?)

If you don't have an Asylum Account, you can create one by clicking Here.

Our privacy policy can be reviewed by clicking Here.

Inmate Comments

From:  
Your Email:  
Subject:  

Message Comments

   

Original Message

Update: PulseAudio currently does not support dynamically changing sample rate

Posted by Christine Tham on November 30, 2010 at 13:29:50:

To change the sample rate that every stream is converted to, you need to kill and restart the PulseAudio daemon.

Extract from PulseAudio mailing lists:

No, this is not something we support at present due to the practical
problems that this presents.

Whenever changing the sample rate "mid stream" you'll obviously get some
kind of click/pop as the device is closed, reconfigured and reopened, so
this has to be avoided.

The alternative is to take the first sample rate and stick with it. But
then consider playing an 8kHz effect sound and then playing a nice
196kHz audio track just a moment later... it would be converted to 8kHz
which is almost certainly not what the user would want.

So whichever way you cut it, there is no nice solution to do dynamic
sample rate switching of the hardware and the only logical and practical
solution is to use a fixed sample rate on your system and covert to this.