Radio spectra of non-uniform synchrotron sources with internal absorption