My observations with APS buffers:
With (CNG -0/1 and VAD 0) -> All APS buffers always has header value 1 (Hopefully noise is also generated).
With (CNG-0/1 and VAD 1) -> All types of header 2,1,0 are seen, with header 2 always precedes 1.
The APS 2.4.1 doc says that header value 0 is unvoiced non-sid frame and contains body filled with zeros. But I observe a combination of both data and zeros (few data samples and zeros succeeds till the end).
Can someone elaborate on Buffers with header value 0?
- Can the buffer with header 0 contain samples as well as 0’s? Should we consider playing these buffers also if CNG is enabled (ideally we need not give any buffers if CNG is enabled)?
-Even if VAD identifies noise, do we still get APS buffers with header 0 every 20ms?