94
« Last post by dingo35 on November 27, 2014, 08:12:32 »
Hi all,
When compiling GIT version of vompclient on Raspi (which is current on Raspbian) first I have to install a new package to fullfill a new dependency:
apt-get install libavresample-dev (documenting this for others).
But then I come in to this error:
audioomx.cc: In member function ‘unsigned int AudioOMX::AdvanceMpAudioSync(const UCHAR*, unsigned int, unsigned int*)’:
audioomx.cc:1579:15: warning: declaration of ‘test’ shadows a member of 'this' [-Wshadow]
audioomx.cc: In member function ‘unsigned int AudioOMX::AdvanceAc3AudioSync(const UCHAR*, unsigned int, unsigned int*)’:
audioomx.cc:1659:15: warning: declaration of ‘test’ shadows a member of 'this' [-Wshadow]
audioomx.cc: In member function ‘unsigned int AudioOMX::AdvanceAacLatmAudioSync(const UCHAR*, unsigned int, unsigned int*)’:
audioomx.cc:1679:15: warning: declaration of ‘test’ shadows a member of 'this' [-Wshadow]
audioomx.cc: In member function ‘void AudioOMX::getDownMixMatrix(long long unsigned int, int*, int*)’:
audioomx.cc:1710:18: error: ‘AV_CH_BACK_LEFT’ was not declared in this scope
audioomx.cc:1710:36: error: ‘AV_CH_SIDE_LEFT’ was not declared in this scope
audioomx.cc: In member function ‘UINT AudioOMX::DeliverMediaPacket(MediaPacket, const UCHAR*, UINT*)’:
I tried fiddling around:
-adding a "#include <libavutil/channel_layout.h>" to audioomx.h
then new errors occur, solving them:
-adding -fpermissive flag to CXXFLAGS_DEV in GNUMakefile
-adding -ldl and -lfontconfig to LIBS in GNUMakefile
..then it compiles but audio is some kind of "Donald Duck" like sound.
What am I doing wrong?