Removing first method (Core Audio method)
removing frameworks no longer needed.
Changing indentation to use 2 spaces.
Removing redundant code.
Restricting lines to a hundred characters.
Final Commit