Christoph Bartelmus wrote:
Hi!

Bob van Loosen "bob.loosen@gmail.com" wrote:
[...]
  
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
48kHz.

      
Attached patch should do it.
    

Almost there.
I saw that you've added carrierFreq to the struct but are not using it  
yet.
In audio_send you can use something like:
data.carrierFreq = remote->freq==0 ? DEFAULT_FREQ:remote->freq;
And then of course make use of it in recordCallback.

Christoph
  
Should be done with the pipe instead, otherwise it's not threadsafe.

Bob.