title: Text to speech in google glass- only the last function call works
body: <p>here is my code,</p>
  
  <pre><code>   @Override
            public void onInit(int status) {
              if (status == TextToSpeech.SUCCESS) {
                initialized = true;
                tts.setLanguage(Locale.ENGLISH);
  
                if (queuedText != null) {
                  speak(queuedText);
                }
              }
            }
  
            public void speak(String text) {
              // If not yet initialized, queue up the text.
              if (!initialized) {
                queuedText = text;
                return;
              }
              queuedText = null;
              // Before speaking the current text, stop any ongoing speech.
              tts.stop();
              // Speak the text.
              tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);
            }
  </code></pre>
  
  <p>I am calling the speak function like this,</p>
  
  <pre><code>speak("ten");
  speak("nine");
  </code></pre>
  
  <p>I am able to hear only nine.I am trying to implement a counter, I will be adding delays between the calls.</p>