void gis_assistant_previous_page (GisAssistant *assistant) { GisAssistantPrivate *priv = assistant->priv; g_return_if_fail (priv->current_page != NULL); gis_assistant_switch_to (assistant, find_prev_page (priv->current_page)); }
void FastReverse_Page (void) { TFB_SoundChunk *prev; if (!sound_sample) return; // nothing is playing, so.. bye! LockMutex (soundSource[SPEECH_SOURCE].stream_mutex); prev = find_prev_page (cur_sub_chunk); if (prev) { // Set the chunk to be played cur_chunk = prev; cur_sub_chunk = prev; // Decoder will be set in OnStreamStart() PlayStream (sound_sample, SPEECH_SOURCE, false, true, true); } UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex); }