2010-11-24, 23:46
Since revision 35342 I have been unable to build the trunk on my Apple TV running Ubuntu Hardy. The error is caused by a change to the file xbmc/cores/AudioRenderers/ALSADirectSound.cpp where line 350 has been changed from
'snd_pcm_sframes_t avail = snd_pcm_avail_update(m_pPlayHandle);'
to
'snd_pcm_sframes_t avail = snd_pcm_avail(m_pPlayHandle);'
Look here: http://trac.xbmc.org/changeset/35342/tru...tSound.cpp
Which results in the following error:
ALSADirectSound.cpp: In member function ‘virtual bool CALSADirectSound:ause()’:
ALSADirectSound.cpp:350: error: ‘snd_pcm_avail’ was not declared in this scope
make[1]: *** [ALSADirectSound.o] Error 1
make[1]: Leaving directory `/home/atv/dev/trunk-2010-11-23/xbmc/cores/AudioRenderers'
make: *** [xbmc/cores/AudioRenderers/audiorenderers.a] Error 2
Oh, what to do, what to do? -- the Linux noob asks politely...
'snd_pcm_sframes_t avail = snd_pcm_avail_update(m_pPlayHandle);'
to
'snd_pcm_sframes_t avail = snd_pcm_avail(m_pPlayHandle);'
Look here: http://trac.xbmc.org/changeset/35342/tru...tSound.cpp
Which results in the following error:
ALSADirectSound.cpp: In member function ‘virtual bool CALSADirectSound:ause()’:
ALSADirectSound.cpp:350: error: ‘snd_pcm_avail’ was not declared in this scope
make[1]: *** [ALSADirectSound.o] Error 1
make[1]: Leaving directory `/home/atv/dev/trunk-2010-11-23/xbmc/cores/AudioRenderers'
make: *** [xbmc/cores/AudioRenderers/audiorenderers.a] Error 2
Oh, what to do, what to do? -- the Linux noob asks politely...