fixing a bug for CYAudioDemo