Mostly the volume pot is just a normal voltage divider after the Mixing stage. The volume pot is inbetween the mixing stage and the Left and Right output stages.
Flow Chart:
The Sound chip outputs a signal, then there is a DAC circuit, mixing circuit, VOLUME POT, output amplifier circuit, Speaker