Shouldn't need voice.type == VOICETYPE_VAG/PCM

I think we don't need voice.type == VOICETYPE_VAG and voice.type == VOICETYPE_PCM as it is already switching case by voice.type