How flexible is the sampling rate API value?
Using a 2MHz sampling frequency and a centre frequency of 137.5MHz, I can cover all 3 of the active NOAA satellite frequencies and decode them correctly down to audio. (I notice that 2 of the satellites are overhead at the same time occasionally and so I have different threads processing the raw samples for each satellite - each thread samples the appropriate offset from the centre frequency and then decimates and demodulates accordingly.)
This part is all working fine except that the (current) target audio sampling rate is a bit off from 48KHz (actually 47,619Hz).
To get WxToImg to input the audio files I need to resample the audio to get to 11025Hz. However with a 2MHz sampling frequency, the closest I can get reasonably is 10989Hz (2MHz/182 - 182 factors to 2, 7 and 17 which are reasonable decimation factors).
I was thinking that it might be possible to set a sampling frequency of 2,006,550Hz that would then decimate down to exactly the audio sampling rate I'm after (WxToImg is a bit fussy about the sampling rate).
1) Is it acceptable to use a sampling rate such as this? I note that the API says it can be between 2MHz and 10MHz but all of the examples given seem to use rates such as 2MHz, 4MHz etc.
2) What side effects is using such a sampling rate likely to have? What other steps should I take to make this work?