[SOLVED] How do you check the samplerate in use by your sound card (Slackware64 14)?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
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!