Audio input filter

This problem is a lot harder that you might think. Some serious DSP grunt is needed and the results will
only ever be partially successful. The microphone's "background audio" is a severely altered version of
what you output to the speaker(s), with the alterations changing in real time and need to be modelled
across the spectrum in order to cancel much.

Get a good noise-cancelling microphone instead. Noise-canceling microphone - Wikipedia