You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

TTS DC'ing person

UserPost

8:32 pm
November 21, 2010


dardack

Member

posts 18

OK I have TTS working when ssomeone leaves a channel (or joins):

 

 // they're leaving our channel

                            #ifdef HAVE_ESPEAK

                                if (strlen(u->phonetic) == 0) {

                                    audioControl->playText(c_to_ustring(u->name) + " has left the channel.");

                                }

                                else {

                                    audioControl->playText(c_to_ustring(u->name) + " has left the channel.");

                                }

                            #else

                                audioControl->playNotification("channelleave");

                            #endif

 

 

But for DC"ING:

 

if (v3_get_user_channel(v3_get_user_id()) == ev->channel.id) {
 #ifdef HAVE_ESPEAK

                                if (strlen(u->phonetic) == 0) {

                                    audioControl->playText(c_to_ustring(u->name) + " has left the channel.");

                                }

                                else {

                                    audioControl->playText(c_to_ustring(u->name) + " has left the channel.");

                                }

                            #else

                                audioControl->playNotification("channelleave");

                            #endif

}
 

Seg Faults.  So I'm assuming u doesn't exist?

8:42 pm
November 21, 2010


dardack

Member

posts 18

NVM i'm getting seg faults compiling my own now.  Never did before wierd.

9:58 pm
November 21, 2010


dardack

Member

posts 18

And 1.2.1 .deb also fails on 10.10.  without compiling I mean.

10:27 pm
April 9, 2011


econnell

Admin

posts 320

This is fixed in SVN.


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 30

Currently Online:
8 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 247
Posts: 1128

Membership:

There are 746 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 48
dardack – 18
Krovikan – 16
FWishbringer – 14
faldiin – 12
vpro – 11

Recent New Members: keeper, pezz, nvs2dvs, fishtoast, melody, Etane

Administrators: econnell (320 Posts)

Moderators: Haxar (58 Posts), bobshaffer (2 Posts)



Go to Top