LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2020, 03:05 AM   #1
zhl
Member
 
Registered: Oct 2020
Location: Kwangchow
Distribution: Slackware
Posts: 65

Rep: Reputation: Disabled
pavucontrol and alternate-sample-rate


By default, pulseaudio will shift to alternate-sample-rate if the first audio playback stream does not match default-sample-rate.
With the "show volume meters" option enabled in pavucontrol, it will lock the rate to default-sample-rate, other streams are resampled to that default rate.

Code:
I: [pulseaudio] sink-input.c: Trying to change sample spec 
I: [pulseaudio] sink.c: Cannot update sample spec, monitor source is RUNNING 
I: [pulseaudio] speex.c: Choosing speex quality setting 1.
If run pavucontrol after audio playback stream which at alternate sample rate, resampling will be at that rate too.

Code:
I: [pulseaudio] source-output.c: Trying to change sample spec 
I: [pulseaudio] source.c: Cannot update sample spec, SOURCE_IS_RUNNING, will keep using s16le and 48000 Hz 
I: [pulseaudio] speex.c: Choosing speex quality setting 1.
So, disable "show volume meters" option.

I also found some plugins will lock sample rate:
cava, compressor from calf-ladspa.

Last edited by zhl; 10-27-2020 at 09:22 AM.
 
Old 11-06-2020, 10:12 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
You can change the default sample rate and other parameters in /etc/pulse/daemon.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is /sbin/initscript.sample not /etc/initscript.sample ? Lockywolf Slackware 4 06-16-2018 06:47 AM
Changing sample rate for OSS? Elijah Linux - Hardware 2 04-27-2006 05:57 PM
wrong sample rate for Gnome system sounds sharkzf6 Linux - Hardware 0 03-10-2005 10:10 AM
mplayer: faad assumes wrong sample rate Hmm ^_^ Linux - Software 1 09-14-2004 02:47 AM
ps2 mouse sample rate citron Linux - General 0 09-18-2002 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration