This error message indicates that the ALSA library is having trouble finding the default audio device on your system. This could be due to misconfiguration or missing drivers.

To resolve this issue, you can try the following steps:

  1. Check if the sound card is properly installed and recognized by the system. You can use the aplay -l command to list the available sound cards.

  2. Make sure the ALSA configuration files are correctly set up. You can check the /etc/asound.conf file for any errors or misconfigurations.

  3. Restart the ALSA service. You can do this by running the following command: sudo systemctl restart alsa-utils.service

  4. If you have multiple sound cards, you may need to specify the correct card number in the sox command. You can use the aplay -l command to find the card number and then modify the play command accordingly. For example: play -d plughw:1 ./music/二哈ya\ -\ 肯定.FLAC

If these steps do not resolve the issue, it may be necessary to investigate further or consult a professional for assistance.

rootlocalhost~# play music二哈ya - 肯定FLACALSA lib confmiscc767parse_card cannot find card 0ALSA lib confc4732_snd_config_evaluate function snd_func_card_driver returned error No such file or directoryAL

原文地址: https://www.cveoy.top/t/topic/i7Gb 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录