This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

audio error

Other Parts Discussed in Thread: TVP5158

Hello!

Platform: DM8168 dvrrdk3.0; Application showed the error message:

 [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[0],ChID[0],FirstPTS[0]
 [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS successConfig:DisplayID[1],ChID[0],FirstPTS[0]

 ===============Switch Display Done=========================

 ===============Main Output Resolution Switch Done==========

 ===============Sub Output Resolution Switch Done===========
CAPTURE: Audio configuration done... - status -1!!!
CAPTURE: Audio configuration done... - status -1!!!
CAPTURE: Audio configuration done... - status -1!!!
CAPTURE: Audio configuration done... - status -1!!!
 [m3vpss ] AVSYNC:Media Time Base:0,FirstVidPTS:0,FirstAudPTS:-1
 [m3vpss ] AVSYNC:Media Time Base:0,FirstVidPTS:0,FirstAudPTS:-1

How to solve this problem? what is Vcap_setAudioModeparam ()  function role?  Is it related to capture audio equipment ?

 

 

  • Q1 How to solve this problem?

    - by the following messages,
    CAPTURE: Audio configuration done... - status -1!!!

    it return from
            status = Device_tvp5158Control(gVcapModuleContext.tvp5158Handle[i],
                                           IOCTL_DEVICE_TVP5158_SET_AUDIO_MODE,
                                           &audArgs,
                                           &createStatusArgs);
            printf("CAPTURE: Audio configuration done... - status %d!!!\n",
                       status);

    you can trace that to the function "Device_tvp5158SetAudioMode" and find several "return -1;"

    pls use printf to trace which location you return, then you could clarify the problem first.

    Q2. what is Vcap_setAudioModeparam ()  function role?

    - I didn't find "Vcap_setAudioModeparam" under ./dvr_rdk ?? where's it ?

    Q3. Is it related to capture audio equipment ?

    - currently not sure...