Changeset 44978


Ignore:
Timestamp:
12/09/20 02:45:19 (19 months ago)
Author:
obi
Message:

exteplayer3 enable fast forward

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/player.h

    r44974 r44978  
    24202420
    24212421        int speedmap = 0;
     2422/*
    24222423        if(speed == 0)
    24232424        {
     
    24282429                }
    24292430        }
    2430        
    2431 
     2431*/
    24322432        if (speed < 1) speed = 1;
    24332433        if (speed > 7) speed = 7;
     
    24422442                case 6: speedmap = 63; break;
    24432443                case 7: speedmap = 127; break;
    2444         }
    2445 
     2444
     2445                case -1: speedmap = -5; break;
     2446                case -2: speedmap = -10; break;
     2447                case -3: speedmap = -20; break;
     2448                case -4: speedmap = -40; break;
     2449                case -5: speedmap = -80; break;
     2450                case -6: speedmap = -160; break;
     2451                case -7: speedmap = -320; break;
     2452               
     2453        }
     2454
     2455        if(player && player->playback)
     2456                player->playback->Command(player, PLAYBACK_FASTFORWARD, &speedmap);
    24462457       
    24472458#ifdef MIPSEL
Note: See TracChangeset for help on using the changeset viewer.