The sound and microphone redirection channels (and in part TSMF)
did not properly decouple encoding/decoding from the backends used
to play/record sound.
Encapsulating encoding/decoding in rewritten freerdp_dsp_* functions
with variable backends, simplifying alsa/oss/pulse/... audio backends.
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.
In case pkg-config isn't available a notification message with the
required version is printed.
This fixes/prevents #740.
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.
In case pkg-config isn't available a notification message with the
required version is printed.
This fixes/prevents #740.
ffmpeg headers are supposed to be referenced as libavcodec/avcodec.h.
Therefore, we actually need to find the path to the libavcodec directory, not
avcodec.h.