How do you check the samplerate in use by your sound card (Slackware64 14)?
I remember a while ago there was a way to issue cat command to see what sample rate was in use by your sound card. I've looked in /dev/dsp and other possible places to issue cat but have had no luck. I want to know if my sound hardware is doing bit perfect output without re-sampling.
How do you see the current sample rate in use by the sound card? I'm running Slackware64 14.0.
Nevermind figured it out I think. Here is what I did
The following shows when playing music with audacious:
rate: 44100 (44100/1)
Hope my card is indeed outputting 44100khz. Wish I had an external DAC reciever that could tell me for sure.
Okay feeling more confident now. I changed output device from plughw to plug:dmix which made output stuck at 48000khz despite changing program settings (plug:dmix is the software mixer for alsa); I changed back to plughw (hardware mixer) and now it shows 44100khz (same samplerate in use by audacious); when I use 32000khz samples (or play games at that rate) 96000khz is used (96000khz is an exact multiple of 32000khz so it's perfect)! Don't really care about multiple programs playing sound at once. Goodbye 48000khz and having to re-sample everything!
Hope this is helpful.
Last edited by Holering; 02-03-2013 at 05:18 PM.