Loading lib_dec/jbm_pcmdsp_fifo.c +2 −0 Original line number Diff line number Diff line Loading @@ -176,6 +176,7 @@ int16_t pcmdsp_fifo_write( } #ifdef JBM_TSM_ON_TCS #ifdef DEBUGGING /* Writes the given audio data to the FIFO. */ int16_t pcmdsp_fifo_write_zero( PCMDSP_FIFO_HANDLE h, Loading Loading @@ -217,6 +218,7 @@ int16_t pcmdsp_fifo_write_zero( return 0; } #endif #endif /* Reads the given number of audio samples from the FIFO. */ int16_t pcmdsp_fifo_read( Loading lib_dec/jbm_pcmdsp_fifo.h +3 −0 Original line number Diff line number Diff line Loading @@ -73,9 +73,12 @@ void pcmdsp_fifo_destroy( PCMDSP_FIFO_HANDLE *ph ); ivas_error pcmdsp_fifo_init( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel, uint16_t nChannels, uint16_t nBytesPerSample ); int16_t pcmdsp_fifo_write( PCMDSP_FIFO_HANDLE h, const uint8_t *samples, uint16_t nSamplesPerChannel ); #ifdef JBM_TSM_ON_TCS #ifdef DEBUGGING int16_t pcmdsp_fifo_write_zero( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel ); #endif #endif int16_t pcmdsp_fifo_read( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel, uint8_t *samples ); Loading lib_dec/lib_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1977,11 +1977,13 @@ ivas_error IVAS_DEC_VoIP_GetSamples( nSamplesTcsScaled = hVoIP->nSamplesFrame; if ( hVoIP->hFifoOut != NULL ) { #ifdef DEBUGGING /* feed zeros to FIFO */ if ( pcmdsp_fifo_write_zero( hVoIP->hFifoOut, nSamplesTcsScaled ) != 0 ) { return IVAS_ERR_UNKNOWN; } #endif } else { Loading Loading
lib_dec/jbm_pcmdsp_fifo.c +2 −0 Original line number Diff line number Diff line Loading @@ -176,6 +176,7 @@ int16_t pcmdsp_fifo_write( } #ifdef JBM_TSM_ON_TCS #ifdef DEBUGGING /* Writes the given audio data to the FIFO. */ int16_t pcmdsp_fifo_write_zero( PCMDSP_FIFO_HANDLE h, Loading Loading @@ -217,6 +218,7 @@ int16_t pcmdsp_fifo_write_zero( return 0; } #endif #endif /* Reads the given number of audio samples from the FIFO. */ int16_t pcmdsp_fifo_read( Loading
lib_dec/jbm_pcmdsp_fifo.h +3 −0 Original line number Diff line number Diff line Loading @@ -73,9 +73,12 @@ void pcmdsp_fifo_destroy( PCMDSP_FIFO_HANDLE *ph ); ivas_error pcmdsp_fifo_init( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel, uint16_t nChannels, uint16_t nBytesPerSample ); int16_t pcmdsp_fifo_write( PCMDSP_FIFO_HANDLE h, const uint8_t *samples, uint16_t nSamplesPerChannel ); #ifdef JBM_TSM_ON_TCS #ifdef DEBUGGING int16_t pcmdsp_fifo_write_zero( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel ); #endif #endif int16_t pcmdsp_fifo_read( PCMDSP_FIFO_HANDLE h, uint16_t nSamplesPerChannel, uint8_t *samples ); Loading
lib_dec/lib_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1977,11 +1977,13 @@ ivas_error IVAS_DEC_VoIP_GetSamples( nSamplesTcsScaled = hVoIP->nSamplesFrame; if ( hVoIP->hFifoOut != NULL ) { #ifdef DEBUGGING /* feed zeros to FIFO */ if ( pcmdsp_fifo_write_zero( hVoIP->hFifoOut, nSamplesTcsScaled ) != 0 ) { return IVAS_ERR_UNKNOWN; } #endif } else { Loading