mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-25 05:28:55 +00:00
v1.0.3
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "mpp_log.h"
|
||||
#include "mpp_list.h"
|
||||
@@ -55,6 +56,10 @@ typedef struct AUDIO_RENDER_IN_FRAME {
|
||||
#define AUDIO_RENDRE_DUMP_FILEPATH "/sdcard/audio.pcm"
|
||||
#endif
|
||||
|
||||
#define AUDIO_RENDER_WAIT_FRAME_INTERVAL (10*1000*1000)
|
||||
|
||||
#define AUDIO_RENDER_WAIT_FRAME_MAX_TIME (8*1000*1000)
|
||||
|
||||
typedef struct AUDIO_RENDER_DATA_TYPE {
|
||||
OMX_STATETYPE state;
|
||||
pthread_mutex_t stateLock;
|
||||
@@ -107,7 +112,6 @@ typedef struct AUDIO_RENDER_DATA_TYPE {
|
||||
OMX_S8 *pDumpAudioFilePath;
|
||||
#endif
|
||||
|
||||
pthread_mutex_t sWaitReayFrameLock;
|
||||
OMX_S32 nWaitReayFrameFlag;
|
||||
|
||||
}AUDIO_RENDER_DATA_TYPE;
|
||||
|
||||
Reference in New Issue
Block a user