Changeset 35064


Ignore:
Timestamp:
08/10/15 20:41:41 (9 years ago)
Author:
gost
Message:

[titan] mipsel.. fix play ts after pause (audio delay)

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/audiodev.h

    r34933 r35064  
    7575        return 0;
    7676}
     77
     78#ifdef MIPSEL
     79int audiocontinue(struct dvbdev* node)
     80{
     81        if(node == NULL)
     82        {
     83                err("NULL detect");
     84                return 1;
     85        }
     86
     87        if(ioctl(node->fd, AUDIO_CONTINUE) < 0)
     88        {
     89                perr("AUDIO_CONTINUE");
     90                return 1;
     91        }
     92       
     93        return 0;
     94}
     95#endif
    7796
    7897int audioplay(struct dvbdev* node)
  • titan/titan/player.h

    r34656 r35064  
    316316{
    317317        videocontinue(status.aktservice->videodev);
     318#ifdef MIPSEL
     319        audiocontinue(status.aktservice->audiodev);
     320#else
    318321        audioplay(status.aktservice->audiodev);
     322#endif
    319323}
    320324
Note: See TracChangeset for help on using the changeset viewer.