Observation: Audacity not see cs46xx devices (only onboard USB sound & vup/ downmix devices).
But ALSA tools & Ardour see, and they are able to capture/ output sound.
The error messg a got when starting audacity was something like in pa_alsa_linux.c function “set_period_size_near(…”. (cs46xx supports period_size 512 only at max).
After weeks over weeks of troubleshooting I got the impression that the underlying portaudio lib may be blamed for this error. So, I began swapping the portaudio lib against older versions a several times.
These are my findings, all with Audacity from Debian Buster repository v2.2.2:
portaudio stock version from Debian Buster => not works, Audacity not see devices of cs46xx (orig ticket issue)
portaudio2_19+svn2014XXX (in Debian Jessie?) => Nope, same as above
portaudio2_19+svn2011XXX (in Debian Wheezy/ Ubuntu?) => Ok, Audacity can record & play!
Seems, something has broken on the way from portaudio svn2011XXX up to => 2014XXX…
Hope, this helps any user in dispair as I was. And maybe, you developers manage to correct this issue in future versions of portaudio.
Thank you for your attention, and keep up your good work!
Cu
Are you able to build a C++ app from the source code?
Well, building software is not my daily cup of tea, so to say. But I did compile & build, a several times. (First, I would need a running build environment…)
I was thinking that you could temporarily remove any portaudio “dev” packages that you may (or may not) have installed, and build Audacity from the source code (which includes portaudio).
I posted some recent build instructions here (pinned near the top): Compiling Audacity - Audacity Forum
The steps include setting up a minimal build environment.
After several years of “foreign” activities, I now found some time to re-tackle my issue.
Now operating the following setup:
Debian v12 Bookworm
ALSA v1.2.8
Audacity v3.2.4 & Portaudio v19
Soundcard the same Terratec DMX XFire 1024, w/ cs46xx kernel module
Updated findings:
The new Audacity & Portaudio, as before, don’t see my cs46xx devices…
What WORKS: Operating JACK as a backend. This requires “period_size = 512 frames” or below. With a setting of 1024 or above, JACK does not connect to the soundcard, and an error is logged.
With the same setting of 512, Ardour also can operate my soundcard (here, the setting is called “buffer_size/ samples”…) And, interestingly enough, Ardour does not offer a 1024,… setting for my cs46xx device.
Assumption:
My cs46xx ALSA device cannot be connected to with a 1024 period_size (or above), as noted previously.