Added condition for get_source_buffer
-Nash Kleppan