Now that I have restored my sound system, here is the original issue I was trying to fix…
After updating to 24.04, I am having trouble recording from the S/PDIF input on my CMedia CMI8768 sound card. I normally use KWave and Audacity, but both programs exhibit the same behavior. I did not have trouble recording previously with 20.04.
The input stream is being recorded, but it seems that the sound card is sampling at a different rate than what I am recording at with the software. pactl list sources shows that the card mode should be 2-channel 16-bit 48000 Hz, and that is what I set the software for. However, when playing back the recording, I have the “Mickey Mouse” effect, which for digital input typically indicates that the sampling rate is wrong.
The man page for arecord says that the default sampling rate is 8000 Hz. So, as a test with Audacity and KWave, I set up the recording for 8000 Hz, and the recorded sound file sounds normal. So, it seems that the card is set for 8000 Hz, even though the software is requesting 48000 Hz.
I also tried arecord from the command line, which allows setting the sampling rate, but that was not successful either. I can’t seem to change the sampling rate on the card.
qasmixer seems to give the best control over the card settings, but it does not provide any option to set the sampling rate on the card. (in Windows, this can be changed from the driver settings for the card). The card is able to sample up to 96000 Hz.
Any suggestions? Is there another app that might provide better control of the card?
Thanks!