Streaming capture quality vs soundcard quality

If you capture streaming, do you know whether the quality of the resulting file depends on your sound card? Thx

It depends how you do it.

If you can capture the stream with “curl”, then the sound card is irrelevant because the data stream is written directly to disk and the sound card is not involved at all.

If you record via PulseAudio, then the sound card itself is not a factor, but the sound card drivers and sound system settings will have an effect on the quality (though usually the quality will still be very good).

If you use a physical loopback connector (plug line-out to line-in with an audio cable), then the sound card is totally important.

If there is an option to download rather than record, then that’s the best option. If not, then recording via PulseAudio usually works well: https://manual.audacityteam.org/man/tutorial_recording_computer_playback_on_linux.html