Lines Matching refs:adif
97 int adifWrite_EncodeHeader(ADIF_INFO *adif, in adifWrite_EncodeHeader() argument
109 INT sampleRate = adif->samplingRate; in adifWrite_EncodeHeader()
110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
112 if (adif->headerWritten) in adifWrite_EncodeHeader()
119 adif->bVariableRate = ( adif_buffer_fullness >= (INT)(0x1<<20) ) ? 1 : 0; in adifWrite_EncodeHeader()
136 FDKwriteBits(hBs, adif->bVariableRate?1:0, 1); in adifWrite_EncodeHeader()
142 if(!adif->bVariableRate) { in adifWrite_EncodeHeader()
147 …transportEnc_writePCE(hBs, adif->cm, sampleRate, adif->instanceTag, adif->profile, 0, 0, alignAnch… in adifWrite_EncodeHeader()
152 int adifWrite_GetHeaderBits(ADIF_INFO *adif) in adifWrite_GetHeaderBits() argument
157 if (adif->headerWritten) in adifWrite_GetHeaderBits()
173 if(!adif->bVariableRate) { in adifWrite_GetHeaderBits()
178 bits = transportEnc_GetPCEBits(adif->cm, 0, bits); in adifWrite_GetHeaderBits()