Christoph Bartelmus wrote:

Bob van Loosen "" wrote:
What's the reason for changing SAMPLE_RATE to 48000?
Unless there's a very good reason I'd like to keep the current value to
avoid problems with soundcards that only support 44100.

A higher samplerate increases the rolloff frequency of the soundcard's
internal lowpass, considering the high carrier frequency and the square
carrier modulation you need all the bandwidth you can get to ensure
reliable transmission.
I don't think it's much of an issue considering that almost all
soundcards do 48 khz for the past 8 years or so, even the really cheap ones.

Ok, can we make this configurable, the same way it is done for the  
audio_alsa driver? Then I wouldn't have any problem setting the default to  
Sure, all that's needed is to replace the SAMPLE_RATE constant with a variable that's set somewhere.