While working on an existing project, I came across a piece of code that does a decimation filter in a way that I find not obvious.
In this code, every 6th sample is being thrown away. The result is being fed to FFT functions, in order to calculate magnitudes of two particular frequencies. This is done to demodulate S-FSK messages.
My question is specifically about validity of such approach when only single Nth$N$th sample is being thrown away. Googling around yielded plenty of beginner-level articles on decimation filtering, which all suggested keeping a single Nth$N$th sample. This makes much more sense to me, since (assuming sufficient oversampling) keeping only a single sample periodically will not change an overall form of a sine wave.
On the other hand, in the implementation that I encountered the end result is a broken wave with phase changing all the time.
Granted, we don' care about the phase in this application, only the magnitude, but still, is this valid?
If yes, what are the drawbacks or potential side effects of such approach?