Lines Matching refs:audioinfo
417 AUDIO_INFO* audioinfo = NULL;
562 OMX_G711ENC_MALLOC_STRUCT(audioinfo, AUDIO_INFO);
563 OMX_G711ENC_INIT_STRUCT(audioinfo, AUDIO_INFO);
566 audioinfo->nIpBufs = atoi(argv[7]);
567 if(audioinfo->nIpBufs > 4 && audioinfo->nIpBufs < 1){
568 APP_DPRINT( "Cannot support %li Input buffers\n", audioinfo->nIpBufs);
571 APP_DPRINT("%d [TEST APP] number of input buffers = %ld \n",__LINE__,audioinfo->nIpBufs);
572 audioinfo->nIpBufSize = atoi(argv[8]);
573 APP_DPRINT("%d [TEST APP] input buffer size = %ld \n",__LINE__,audioinfo->nIpBufSize);
574 audioinfo->nOpBufs = atoi(argv[9]);
575 if(audioinfo->nOpBufs > 4){
576 APP_DPRINT( "Cannot support %ld Output buffers\n", audioinfo->nOpBufs);
579 APP_DPRINT("%d [TEST APP] number of output buffers = %ld \n",__LINE__,audioinfo->nOpBufs);
580 audioinfo->nOpBufSize = atoi(argv[10]);
581 APP_DPRINT("%d [TEST APP] output buffer size = %ld \n",__LINE__,audioinfo->nOpBufSize);
597 pCompPrivateStruct->nBufferCountActual = audioinfo->nIpBufs;
598 pCompPrivateStruct->nBufferCountMin = audioinfo->nIpBufs;
599 pCompPrivateStruct->nBufferSize = audioinfo->nIpBufSize;
617 audioinfo->dasfMode = 0;
622 audioinfo->dasfMode = 1;
628 printf("\n%d [TEST APP] audioinfo->dasfMode Sending Bad Parameter\n",__LINE__);
633 if(audioinfo->dasfMode == 0) {
652 audioinfo->acdnMode = 0;
654 APP_DPRINT("\n%d [TEST APP] audioinfo->acdnMode = %ld \n",__LINE__,audioinfo->acdnMode);
656 audioinfo->acdnMode = 1;
658 APP_DPRINT("\n%d [TEST APP] audioinfo->acdnMode = %ld \n",__LINE__,audioinfo->acdnMode);
661 printf("\n%d [TEST APP] audioinfo->acdnMode Sending Bad Parameter\n",__LINE__);
678 pCompPrivateStruct->nBufferCountActual = audioinfo->nOpBufs;
679 pCompPrivateStruct->nBufferCountMin = audioinfo->nOpBufs;
680 pCompPrivateStruct->nBufferSize = audioinfo->nOpBufSize;
800 if (audioinfo->dasfMode) {
833 if(!audioinfo->dasfMode){
834 for(i = 0; i < audioinfo->nIpBufs; i++) {
837 eError = OMX_AllocateBuffer(pHandle, &pInputBufferHeader[i], 0, NULL, audioinfo->nIpBufSize);
845 for(i = 0; i < audioinfo->nOpBufs; i++) {
855 if(!audioinfo->dasfMode){
856 for(i = 0; i < audioinfo->nIpBufs; i++) {
857 pInputBuffer[i] = (OMX_U8*)malloc(audioinfo->nIpBufSize);
866 eError = OMX_UseBuffer(pHandle, &pInputBufferHeader[i], 0, NULL, audioinfo->nIpBufSize, pInputBuffer[i]);
873 for(i = 0; i < audioinfo->nOpBufs; i++) {
962 if(audioinfo->dasfMode == 1) {
966 if(audioinfo->dasfMode == 0) {
967 for (k=0; k < audioinfo->nIpBufs; k++) {
979 for (kk = 0; kk < audioinfo->nOpBufs; kk++) {
1018 if(audioinfo->dasfMode == 0) {
1073 if(audioinfo->dasfMode == 0) {
1147 if(audioinfo->dasfMode == 0) {
1254 audioinfo->dasfMode = 0;
1300 if(!audioinfo->dasfMode){
1301 for(i=0; i < audioinfo->nIpBufs; i++) {
1310 for(i=0; i < audioinfo->nOpBufs; i++) {
1321 if(!audioinfo->dasfmode){
1322 for(i=0; i < audioinfo->nIpBufs; i++) {
1330 for(i=0; i < audioinfo->nOpBufs; i++) {
1361 APP_MEMPRINT("%d [TEST APP] [TESTAPPFREE] %p\n",__LINE__,audioinfo);
1362 if(audioinfo != NULL){
1363 free(audioinfo);
1364 audioinfo = NULL;