Whistling noise in combination with those codes is pretty much an air intake leak after the MAF. Typically this would be the air intake boot (upper and lower) going to the throttle body & idle air control valve.
E92 2007 328xi Auto. Sport, Premium & Cold Weather Pkgs. Stock but I keep it clean tho...