Changeset 30654


Ignore:
Timestamp:
10/23/14 12:21:54 (9 years ago)
Author:
nit
Message:

add mipsel current audio detect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/play.h

    r30623 r30654  
    271271                                else
    272272                                        tmp->handle = (char*)(i / 2);
    273 
     273                               
     274#ifdef MIPSEL   
     275                                if(curtrackid == (i / 2))
     276                                {
     277                                        tmp->handle1 = "running";
     278                                        changeinput(tmp, _("running"));
     279                                }
     280                                else
     281                                        changeinput(tmp, "");
     282#else
    274283                                if((ostrcmp(curtrackname, tracklist[i]) == 0 && ostrcmp(curtrackencoding, tracklist[i + 1]) == 0) || (tracklist[i] != NULL && curtrackid == atoi(tracklist[i])))
    275284                                {
     
    279288                                else
    280289                                        changeinput(tmp, "");
     290#endif
    281291                        }
    282292                        i += 2;
Note: See TracChangeset for help on using the changeset viewer.