I'm still having this issue with 10.7.3 after a full re-installation. It frustrated me so much, I did more research and testing to find a fix myself. I made an AppleScript Application that renices iTunes and Core Audio, and set it to run as a Login Item for my user account. Because I'm lazy and don't want to enter an admin username and password each time, I stored this in plain text. You might not want to do this (see below):
set ali_admin to {"USERNAME", "PASSWORD"} # Replace with Username and Password of local administrator (in quotes)
set ali_admincheck to count ali_admin
if ali_admincheck is equal to 2 then
tell application "iTunes" to activate
set ali_itunespid to do shell script "ps -axww | grep '[/]iTunes '| awk '{print $1}'"
do shell script "sudo renice -20 -p " & ali_itunespid user name item 1 of ali_admin password item 2 of ali_admin with administrator privileges
do shell script "renice -20 -u _coreaudiod" user name item 1 of ali_admin password item 2 of ali_admin with administrator privileges
end if
For the more security conscious, or those who don't mind the password prompt use:
tell application "iTunes" to activate
set ali_itunespid to do shell script "ps -axww | grep '[/]iTunes '| awk '{print $1}'"
do shell script "sudo renice -20 -p " & ali_itunespid with administrator privileges
do shell script "renice -20 -u _coreaudiod" with administrator privileges
I've not had any audio popping since using this script.
Hope this helps someone.