swf_app.h

来自「AMLOGIC DPF source code」· C头文件 代码 · 共 41 行

H
41
字号
#ifndef __SWF_APP_H
#define __SWF_APP_H

#include "includes.h"
#include "aw_windows.h"


typedef enum {
    SWF_INIT, 
    SWF_PLAY,
    SWF_STOP, 
    SWF_QUIT,
} swf_status_e;

typedef struct {
    int targetfd_a;
    unsigned char audio_started;
    OS_EVENT *audio_msgq;
    
     /* current status */
     swf_status_e stat;      
} swf_play_t;

typedef struct{
    int type;  // 0 - default, 1- user setting
    void *src; // if default, src is a array, if user setting,  src is a file path
    int size;
}swf_para_t;

typedef struct {
    PAPPTASKARG         app;            /* application handle */
    swf_play_t          play;           /* playback control and running info */
    AVSysEvent_t         internal_cmd_handle;
    EventSubscriber_t   *listener;      /* event loop listener */
    AVResource_t    file_resource;
    char	param[255];
} swf_t;


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?