Example #1
0
static void
spk_destruct (volatile SpeechSynthesizer *spk) {
  spk_mute(spk);

  if (voice) {
    theta_unload_voice(voice);
    voice = NULL;
  }
}
int tcc_spk_hw_mute(int flag)
{
    alsa_dbg("%s()  mute[%d]\n", __func__, flag);

    if(flag)
        spk_mute();
    else
        spk_un_mute();
}
Example #3
0
static void
spk_destruct (SpeechSynthesizer *spk)
{
   spk_mute(spk);
}