Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

just bought sound blaster X-Fi HD (USB) and i'm trying to understand what is the current output (sample rate and bit rate).

I've configured /etc/pulse/daemon.conf and set there the following values:

default-sample-rate = 96000 default-sample-format = s24le

How do i validate it?

share|improve this question
up vote 3 down vote accepted

Pulseaudio settings adhere to the sink they are made for. Hence we are able to read the values we gave with the following command:

pacmd list-sinks

This will give a rather lengthy list including the following information similar to this

sample spec: s16le 2ch 44100Hz

as this was set for my internal card.

share|improve this answer
Great thanks a lot! where can read about how pulseaudio works? (what is sink, source and all of this stuff, relevant files, what is the relationship with ALSA, etc.) – idgar May 24 '13 at 18:51
You may try to figure out things from or from the nice Wiki maintained by Arch people: – Takkat May 24 '13 at 18:55

You can also look under the hood of ALSA itself, to double check what sample rate your hardware is actually set to.

less /proc/asound/card0/pcm0p/sub0/hw_params

(numbers may vary, e.g. card1, and maybe a different playback channel on the card. xp are playback channels, xc are capture channels). Not 100% sure if the hw_params file is specific to hda_intel, or if it'll be there with whatever alsa driver you have.

In a typical setup, applications use the default ALSA output, which is actually a hook to send the audio through pulseaudio, which itself outputs to hardware through alsa, using the actual names of the hw device. (alsa devices are specified with text strings like hw:0, or default).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.