Unused play_wave_sync() removed.