Removed usage of deprecated createGainNode method