Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestAEStreamParser.cpp File Reference
#include "cores/AudioEngine/Utils/AEStreamInfo.h"
#include <cstdint>
#include <vector>
#include <gtest/gtest.h>

Functions

 TEST (TestAEStreamParser, ACoreFrameNotFollowedByASyncIsNotTakenAsTheStream)
 
 TEST (TestAEStreamParser, ADtsHdMaStreamIsDetectedFromItsFirstFrame)
 
 TEST (TestAEStreamParser, ACoreOnlyStreamIsStillDts)
 

Function Documentation

◆ TEST() [1/3]

TEST ( TestAEStreamParser ,
ACoreFrameNotFollowedByASyncIsNotTakenAsTheStream  )

After a flush the first bytes can hold a core frame cut from its extension. Taking it as a plain DTS stream reconfigures the output twice - to DTS, then back to DTS-HD MA - and the receiver has to acquire the format again for nothing.

◆ TEST() [2/3]

TEST ( TestAEStreamParser ,
ACoreOnlyStreamIsStillDts  )

◆ TEST() [3/3]

TEST ( TestAEStreamParser ,
ADtsHdMaStreamIsDetectedFromItsFirstFrame  )