It might be possible to add this feature for any streaming or file playback, but it would not work for the analogue or optical inputs as those signals are not processed through the Pi.

Andrew