# "wrong sample rate" recording via toslink

**URL:** <https://forum.audacityteam.org/t/wrong-sample-rate-recording-via-toslink/115191>\
**Category:** GNU/Linux\
**Tags:** recording\
**Created:** [August 18, 2024, 4:08pm UTC](https://forum.audacityteam.org/t/wrong-sample-rate-recording-via-toslink/115191 "2024-08-18T16:08:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klawischnigg](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/klawischnigg/32/58865_2.png) [@klawischnigg](https://forum.audacityteam.org/u/klawischnigg)\
**Post date:** [August 18, 2024, 4:08pm UTC](https://forum.audacityteam.org/t/wrong-sample-rate-recording-via-toslink/115191/1 "2024-08-18T16:08:59Z")

</div>

Hi there,

the computer with my specific problems was running a Linux-Mint 21.3 “Virginia”. At this point everything worked fine an as expected. In this computer a two soundcards installed:

Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd\_hda\_intel  
v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403  
Device-2: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] driver: snd\_hda\_intel  
v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 1102:0012 class-ID: 0403

After an release-upgrade to Linux-Mint 22 “Wilma” my problems began - I had no sound at all. So by using timeshift i downgraded to Linux-Mint 21.3 “Virginia” again. A least, the sound-output worked again, unfortunatly, recording (from the prefered device-2 via TOSLINK, 48kHz, 24Bit, which is shown in the audacity recording device menu as “HDA Creative: CA0132 Digital (hw1,1)”) was not longer possible. The error-code is: “errorcode: -9997 invalid sample rate” - which, of course, is not true, because _any_ samplerate and _any_ bit-resolution shows the same error-message. This error comes with all audacity versions from 2.x to the latest one (3.6xxx). No solution all over the web concernig this error could fix this problem.

So I installed the latest Ubuntu-Studio on an other SSD in this computer for testing purposes - the same result: “-9997 invalid sample rate”. So my guess is that there is any bug in the latest Ubuntu/Mint-Version (it’s obvious, the release-downgrade only worked partially), which in combination with audacity leads to the mentioned error.

So my question is, does anyone has any ideas, how to solve this problem?

Thnx in advance…

---

<div class="post-metadata">

**Author:** ![system](https://forum.audacityteam.org/uploads/default/original/1X/81a69b20bcd548215067cfaceccc8a10bfa2d176.png) [@system](https://forum.audacityteam.org/u/system)\
**Post date:** [September 17, 2024, 4:09pm UTC](https://forum.audacityteam.org/t/wrong-sample-rate-recording-via-toslink/115191/2 "2024-09-17T16:09:49Z")

</div>

Closed on September 17, 2024, 4:09pm UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
