There are four possible relative motions between the source of a sound and the listener
1) source moves towards stationary listener
2) source moves away from stationary listener
3) listener moves towards stationary source
4) listener moves away from stationary source
In which of the cases, the change in frequency is the same. The magnitude of velocity of source or listener being the same.