Reference counters for sound system