SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Mon Oct 20 -11:15:36 root@vector:/home/gb10]#aplay -D plughw:0 horned_owl-Mike_Koenig-1945374932.wav
Playing WAVE 'horned_owl-Mike_Koenig-1945374932.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Check your volumes, your mixer, perhaps something is turned way down or muted. Do other files play with sound? "Worked in the past." When? How often? What's changed in your system? You posted in Slackware so that would be the assumption. Like did this work an hour ago and pretty much worked everyday all the time, or do you happen to only listen to sound files once in a blue moon, and there's also been a lot of system changes via updates or software installs since the last time you've done this. Many systems have different output jacks for amplified speakers versus headphones, try them if you have different ones. Verify also that you are on the headphone or speaker output plugs and not the microphone plug.
[Wed Oct 22 -12:40:40 gb10@vector:/etc/modprobe.d]$ cat snd-hda-intel.conf
options snd-hda-intel model=auto
[Wed Oct 22 -12:41:23 gb10@vector:/etc/modprobe.d]$cat sound.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.24.2 ---
alias char-major-116 snd
alias char-major-14 snd
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
These are my two sound files in /etc/modprobe directory.
Have you like uninstalled and re-installed aplay? Or better yet, can you boot from a LIVE distribution, perhaps even the same distro you have, and get sound working? I do wonder if there is hardware or connection failures. I'd check the system log and see if there are any complaints when you try to play sound files.
Forgetting aplay, can you get ANY system sounds? If you play a movie file with something else, do you hear the audio? If you visit a website like youtube and play a streaming video with audio, do you hear the audio? I think you need to determine if sound is broken on your hardware, your sound drivers, or if aplay itself happens to be the problem here.
And by the way Alien Bob's suggestion was for you to try and play your cited sound file, with no arguments; also meaning that you'd need to run aplay from the directory where that sound file is located, or at the very list give the fully qualified pathname to that sound file when you give it as an argument to aplay.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.