User Tools

Site Tools


how_to_change_the_soundcards_default_sample_rate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
how_to_change_the_soundcards_default_sample_rate [2019/09/27 19:17] – created ekrajbhow_to_change_the_soundcards_default_sample_rate [2024/03/12 21:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
-In the terminal, type xed admin:///etc/pulse/daemon.conf (this assumes Mint 19.x. For Mint <= 18.3 use gksudo xed /etc/pulse/daemon.conf.) +In the terminal, type  
 +<code>sudo nano /etc/pulse/daemon.conf</code> 
  
-Find the section that looks like this:  +Find the section that looks like this: \\
- +
-Code: Select all  +
- +
-; default-sample-format = s16le  +
- +
-; default-sample-rate = 44100 +
  
 +; default-sample-format = s16le \\
 +; default-sample-rate = 44100 \\
 +\\
      
-and change it to this:  +and change it to this: \\ 
 +  
 +default-sample-format = s24le \\ 
 +default-sample-rate = 48000 \\
      
-Code: Select all +(or default-sample-rate = 96000 or default-sample-rate = 192000 depending on what your system can support.)\\ 
  
-   +Then save the file and in the terminal type 
-default-sample-format = s24le  +
- +
-default-sample-rate = 48000  +
- +
-   +
-(or default-sample-rate = 96000 or default-sample-rate = 192000 depending on what your system can support.) +
  
-Then save the file and in the terminal type pulseaudio -k+<code>pulseaudio -k</code> \\
  
-Done. +Done. \\ \\
  
      
 EDIT: I should add, after making the change, you can see what pulseaudio is using with pacmd list-sinks | grep "sample spec" It'll show one result for each audio device.  EDIT: I should add, after making the change, you can see what pulseaudio is using with pacmd list-sinks | grep "sample spec" It'll show one result for each audio device. 
how_to_change_the_soundcards_default_sample_rate.1569611843.txt.gz · Last modified: 2024/03/12 21:23 (external edit)