Patch for svn trunk: legacy device doesn't work (pjmedia-audiodev)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've appled your patch, but I'm getting a lot of errors when trying to  
compile complaining about deprecation of legacy device.
(This is on trunk)

Best regards,
Even Andr?


In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/echo.h:28,
                  from ../src/pjmedia/echo_speex.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/alaw_ulaw.h:23,
                  from ../src/pjmedia/alaw_ulaw.c:26:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/alaw_ulaw.h:23,
                  from ../src/pjmedia/alaw_ulaw_table.c:25:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/clock.h:27,
                  from ../src/pjmedia/clock_thread.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../src/pjmedia/codec.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/conference.h:28,
                  from ../src/pjmedia/conference.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/conference.h:28,
                  from ../src/pjmedia/conf_switch.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/delaybuf.h:30,
                  from ../src/pjmedia/delaybuf.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/echo.h:28,
                  from ../src/pjmedia/echo_common.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/echo_port.h:27,
                  from ../src/pjmedia/echo_port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../src/pjmedia/echo_suppress.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/endpoint.h:40,
                  from ../src/pjmedia/endpoint.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/errno.h:28,
                  from ../src/pjmedia/errno.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia-codec/config.h:35,
                  from ../include/pjmedia-codec/types.h:28,
                  from ../include/pjmedia/g711.h:28,
                  from ../src/pjmedia/g711.c:23:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/jbuf.h:31,
                  from ../src/pjmedia/jbuf.c:23:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/master_port.h:28,
                  from ../src/pjmedia/master_port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/mem_port.h:27,
                  from ../src/pjmedia/mem_capture.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/mem_port.h:27,
                  from ../src/pjmedia/mem_player.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/null_port.h:27,
                  from ../src/pjmedia/null_port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/plc.h:28,
                  from ../src/pjmedia/plc_common.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../src/pjmedia/port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/splitcomb.h:28,
                  from ../src/pjmedia/splitcomb.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/resample.h:29,
                  from ../src/pjmedia/resample_resample.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/resample.h:29,
                  from ../src/pjmedia/resample_libsamplerate.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/resample.h:29,
                  from ../src/pjmedia/resample_port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/rtcp.h:28,
                  from ../src/pjmedia/rtcp.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/rtcp_xr.h:28,
                  from ../src/pjmedia/rtcp_xr.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/rtp.h:28,
                  from ../src/pjmedia/rtp.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/sdp.h:27,
                  from ../src/pjmedia/sdp.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/sdp.h:27,
                  from ../src/pjmedia/sdp_cmp.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/sdp.h:27,
                  from ../include/pjmedia/sdp_neg.h:261,
                  from ../src/pjmedia/sdp_neg.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/endpoint.h:40,
                  from ../include/pjmedia/session.h:29,
                  from ../src/pjmedia/session.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/silencedet.h:28,
                  from ../src/pjmedia/silencedet.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia-audiodev/config.h:27,
                  from ../include/pjmedia-audiodev/audiodev.h:27,
                  from ../include/pjmedia/sound.h:28,
                  from ../src/pjmedia/sound_legacy.c:29:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia-audiodev/config.h:27,
                  from ../include/pjmedia-audiodev/audiodev.h:27,
                  from ../include/pjmedia/sound_port.h:27,
                  from ../src/pjmedia/sound_port.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/errno.h:28,
                  from ../include/pjmedia/stereo.h:28,
                  from ../src/pjmedia/stereo_port.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/stream.h:29,
                  from ../src/pjmedia/stream.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/tonegen.h:27,
                  from ../src/pjmedia/tonegen.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/transport.h:29,
                  from ../include/pjmedia/transport_adapter_sample.h:29,
                  from ../src/pjmedia/transport_adapter_sample.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/stream.h:29,
                  from ../include/pjmedia/transport_ice.h:29,
                  from ../src/pjmedia/transport_ice.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/stream.h:29,
                  from ../include/pjmedia/transport_loop.h:29,
                  from ../src/pjmedia/transport_loop.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/transport.h:29,
                  from ../include/pjmedia/transport_srtp.h:28,
                  from ../src/pjmedia/transport_srtp.c:21:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/codec.h:29,
                  from ../include/pjmedia/stream.h:29,
                  from ../include/pjmedia/transport_udp.h:29,
                  from ../src/pjmedia/transport_udp.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/wav_port.h:27,
                  from ../src/pjmedia/wav_player.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/wav_port.h:27,
                  from ../include/pjmedia/wav_playlist.h:27,
                  from ../src/pjmedia/wav_playlist.c:23:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/port.h:27,
                  from ../include/pjmedia/wav_port.h:27,
                  from ../src/pjmedia/wav_writer.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/wave.h:28,
                  from ../src/pjmedia/wave.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated
In file included from ../include/pjmedia/types.h:28,
                  from ../include/pjmedia/wsola.h:27,
                  from ../src/pjmedia/wsola.c:20:
../include/pjmedia/config.h:72:5: error: #error  
PJMEDIA_SOUND_IMPLEMENTATION has been deprecated

> Excuse me, here is the simplest patch
>
> Samuel
>
> Samuel Vinson a ?crit :
> >
>  Hello
>
> >
> >
>  Here is a patch to allow legacy device to work in pjsip svn trunk.
>
> >
> >
>  For this patch, I give you right to copy, modify...
>
> >
> >
>  Regards
>
> >
> > Samuel





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux