Frame添加cacheAbel接口

This commit is contained in:
xiongziliang
2019-07-24 18:02:55 +08:00
parent 2d460ff83d
commit f50eaf8648
7 changed files with 31 additions and 19 deletions

View File

@@ -105,11 +105,11 @@ public:
uint32_t iPrefixSize = 7;
} ;
class AACFrameNoCopyAble : public FrameNoCopyAble {
class AACFrameNoCacheAble : public FrameNoCacheAble {
public:
typedef std::shared_ptr<AACFrameNoCopyAble> Ptr;
typedef std::shared_ptr<AACFrameNoCacheAble> Ptr;
AACFrameNoCopyAble(char *ptr,uint32_t size,uint32_t dts,int prefixeSize = 7){
AACFrameNoCacheAble(char *ptr,uint32_t size,uint32_t dts,int prefixeSize = 7){
_ptr = ptr;
_size = size;
_dts = dts;