Hi All
Does anybody know how omxvolcontroltest works ?
I tried
># omxvolcontroltest
or
># omxvolcontroltest xxx.pcm
my earphone has nothing( silent all time)
although some message is output on console.
Also, omxaudiodectest works well for me.
Thanks you a lot.
I pasted the message as followed( note that output message of "omxvolcontroltest xxx.pcm" is totally like garbage)
----------------------------------------
[root@localhost audio_effects]# ./omxvolcontroltest
OMX-In OMX_Init
OMX-In BOSA_ST_CreateComponentLoader
OMX-libname: /usr/local/lib/omxilcomponents/libomxffmpeg.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[0]=OMX.st.audio_decoder
OMX-In BOSA_ST_CreateComponentLoader comp name[1]=OMX.st.video_decoder
OMX-In BOSA_ST_CreateComponentLoader comp name[2]=OMX.st.video_colorconv
OMX-libname: /usr/local/lib/omxilcomponents/libomxvolcontrol.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[3]=OMX.st.volume.component
OMX-libname: /usr/local/lib/omxilcomponents/libomxvorbis.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[4]=OMX.st.audio_decoder.ogg.single
OMX-libname: /usr/local/lib/omxilcomponents/libomxalsa.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[5]=OMX.st.alsa.alsasink
OMX-libname: /usr/local/lib/omxilcomponents/libomxfbdev.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[6]=OMX.st.fbdev.fbdev_sink
OMX-libname: /usr/local/lib/omxilcomponents/libomxfilereader.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[7]=OMX.st.audio_filereader
OMX-Out of BOSA_ST_CreateComponentLoader
OMX-Out of OMX_Init
OMX-In OMX_GetHandle
OMX-In BOSA_ST_CreateComponent
OMX-Found base requested template OMX.st.volume.component
OMX-In omx_volume_component_Constructor, allocating component
OMX-In omx_base_component_Constructor
OMX-Out of omx_base_component_Constructor
OMX-In base_port_Constructor
OMX-In base_port_Constructor
OMX-In omx_base_component_SetCallbacks
OMX-Template OMX.st.volume.component found returning from OMX_GetHandle
OMX-Out of BOSA_ST_CreateComponent
OMX- Getting parameter 16777218
OMX- Getting parameter 33554433
OMX-In omx_base_component_GetParameter
OMX-Getting parameter 33554433
OMX- Setting parameter 33554433
OMX-In omx_base_component_SetParameter
OMX-Setting parameter 33554433
OMX- Getting parameter 33554433
OMX-In omx_base_component_GetParameter
OMX-Getting parameter 33554433
OMX- Setting parameter 33554433
OMX-In omx_base_component_SetParameter
OMX-Setting parameter 33554433
OMX-In omx_base_component_SendCommand
OMX-In omx_base_component_SendCommand messageSem up param=2
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 1
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 2
OMX-In base_port_AllocateBuffer nPortIndex=0
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 1
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 2
OMX-In base_port_AllocateBuffer nPortIndex=1
OMX-In compMessageHandlerFunction
OMX-In omx_base_component_MessageHandler
OMX-In omx_base_component_DoStateSet
OMX-Changing state from 1 to 2
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 1
OMX----> Tunnel status : port 0 flags 0x0
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 1
OMX----> Tunnel status : port 1 flags 0x0
OMX-running callback in omx_base_component_MessageHandler
Hi there, I am in the volcEventHandler callback
Param1 is 0
Param2 is 2
OMX-In omx_base_component_SendCommand
OMX-In omx_base_component_SendCommand messageSem up param=3
OMX-Returning from omx_base_component_MessageHandler:
OMX-In compMessageHandlerFunction
OMX-In omx_base_component_MessageHandler
OMX-In omx_base_component_DoStateSet
OMX-Changing state from 2 to 3
OMX-running callback in omx_base_component_MessageHandler
Hi there, I am in the volcEventHandler callback
Param1 is 0
Param2 is 3
Had buffers at:
0x09777068
0x097778c0
0x09778118
0x09778970
After switch to executing
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Returning from omx_base_component_MessageHandler:
OMX-In omx_base_filter_BufferMgmtFunction
OMX-Waiting for input and output buffer
OMX-Waiting for input buffer semval=0
OMX-Input buffer arrived
OMX-Waiting for input and output buffer
OMX-Waiting for input buffer semval=0
OMX-Input buffer arrived
OMX-Waiting for input and output buffer
Empty first buffer 9777018
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
Empty second buffer 9777870
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
OMX-Waiting for input buffer semval=2
Hi there, I am in the volcFillBufferDone callback. Got buflen 1 for buffer at 0x097780c8
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Input buffer arrived
Hi there, I am in the volcEmptyBufferDone callback.
Empty buffer 9777018
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
OMX-Waiting for input buffer semval=2
Hi there, I am in the volcFillBufferDone callback. Got buflen 1 for buffer at 0x09778920
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Input buffer arrived
Hi there, I am in the volcEmptyBufferDone callback.
..............
..............
..............
----------------------------------------
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All
Does anybody know how omxvolcontroltest works ?
I tried
># omxvolcontroltest
or
># omxvolcontroltest xxx.pcm
my earphone has nothing( silent all time)
although some message is output on console.
Also, omxaudiodectest works well for me.
Thanks you a lot.
I pasted the message as followed( note that output message of "omxvolcontroltest xxx.pcm" is totally like garbage)
----------------------------------------
[root@localhost audio_effects]# ./omxvolcontroltest
OMX-In OMX_Init
OMX-In BOSA_ST_CreateComponentLoader
OMX-libname: /usr/local/lib/omxilcomponents/libomxffmpeg.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[0]=OMX.st.audio_decoder
OMX-In BOSA_ST_CreateComponentLoader comp name[1]=OMX.st.video_decoder
OMX-In BOSA_ST_CreateComponentLoader comp name[2]=OMX.st.video_colorconv
OMX-libname: /usr/local/lib/omxilcomponents/libomxvolcontrol.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[3]=OMX.st.volume.component
OMX-libname: /usr/local/lib/omxilcomponents/libomxvorbis.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[4]=OMX.st.audio_decoder.ogg.single
OMX-libname: /usr/local/lib/omxilcomponents/libomxalsa.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[5]=OMX.st.alsa.alsasink
OMX-libname: /usr/local/lib/omxilcomponents/libomxfbdev.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[6]=OMX.st.fbdev.fbdev_sink
OMX-libname: /usr/local/lib/omxilcomponents/libomxfilereader.so
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In omx_component_library_Setup
OMX-Out of omx_component_library_Setup
OMX-In BOSA_ST_CreateComponentLoader comp name[7]=OMX.st.audio_filereader
OMX-Out of BOSA_ST_CreateComponentLoader
OMX-Out of OMX_Init
OMX-In OMX_GetHandle
OMX-In BOSA_ST_CreateComponent
OMX-Found base requested template OMX.st.volume.component
OMX-In omx_volume_component_Constructor, allocating component
OMX-In omx_base_component_Constructor
OMX-Out of omx_base_component_Constructor
OMX-In base_port_Constructor
OMX-In base_port_Constructor
OMX-In omx_base_component_SetCallbacks
OMX-Template OMX.st.volume.component found returning from OMX_GetHandle
OMX-Out of BOSA_ST_CreateComponent
OMX- Getting parameter 16777218
OMX- Getting parameter 33554433
OMX-In omx_base_component_GetParameter
OMX-Getting parameter 33554433
OMX- Setting parameter 33554433
OMX-In omx_base_component_SetParameter
OMX-Setting parameter 33554433
OMX- Getting parameter 33554433
OMX-In omx_base_component_GetParameter
OMX-Getting parameter 33554433
OMX- Setting parameter 33554433
OMX-In omx_base_component_SetParameter
OMX-Setting parameter 33554433
OMX-In omx_base_component_SendCommand
OMX-In omx_base_component_SendCommand messageSem up param=2
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 1
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 2
OMX-In base_port_AllocateBuffer nPortIndex=0
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 1
OMX-In base_port_AllocateBuffer
OMX-openmaxStandPort->nNumAssignedBuffers 2
OMX-In base_port_AllocateBuffer nPortIndex=1
OMX-In compMessageHandlerFunction
OMX-In omx_base_component_MessageHandler
OMX-In omx_base_component_DoStateSet
OMX-Changing state from 1 to 2
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 1
OMX----> Tunnel status : port 0 flags 0x0
OMX-In omx_base_component_DoStateSet: wait for buffers. port enabled 1, port populated 1
OMX----> Tunnel status : port 1 flags 0x0
OMX-running callback in omx_base_component_MessageHandler
Hi there, I am in the volcEventHandler callback
Param1 is 0
Param2 is 2
OMX-In omx_base_component_SendCommand
OMX-In omx_base_component_SendCommand messageSem up param=3
OMX-Returning from omx_base_component_MessageHandler:
OMX-In compMessageHandlerFunction
OMX-In omx_base_component_MessageHandler
OMX-In omx_base_component_DoStateSet
OMX-Changing state from 2 to 3
OMX-running callback in omx_base_component_MessageHandler
Hi there, I am in the volcEventHandler callback
Param1 is 0
Param2 is 3
Had buffers at:
0x09777068
0x097778c0
0x09778118
0x09778970
After switch to executing
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Returning from omx_base_component_MessageHandler:
OMX-In omx_base_filter_BufferMgmtFunction
OMX-Waiting for input and output buffer
OMX-Waiting for input buffer semval=0
OMX-Input buffer arrived
OMX-Waiting for input and output buffer
OMX-Waiting for input buffer semval=0
OMX-Input buffer arrived
OMX-Waiting for input and output buffer
Empty first buffer 9777018
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
Empty second buffer 9777870
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
OMX-Waiting for input buffer semval=2
Hi there, I am in the volcFillBufferDone callback. Got buflen 1 for buffer at 0x097780c8
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Input buffer arrived
Hi there, I am in the volcEmptyBufferDone callback.
Empty buffer 9777018
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=0
OMX-Waiting for input buffer semval=2
Hi there, I am in the volcFillBufferDone callback. Got buflen 1 for buffer at 0x09778920
OMX-In base_port_SendBufferFunction Signalling bMgmtSem Port Index=1
OMX-Input buffer arrived
Hi there, I am in the volcEmptyBufferDone callback.
..............
..............
..............
----------------------------------------
John