audio: move common audio information functions into a base class