Comment 2 for bug 1380043

Revision history for this message
moma (osmoma) wrote :

Re-hello,
GstDevice and GstDeviceMonitor came first in Gstreamer 1.4.
Ubuntu 14.04 has Gstreamer 1.2 and it does not has support for GstDevice and GstDeviceMonitor modules.

This is my advice .
0) Retrieve the old src/pulseaudio.[ch] module from audio-recorder 1.4.

1) Check in the code if GST_TYPE_DEVICE_MONITOR (or GST_DEVICE) macro has been defined. Something like this.

#ifdef GST_TYPE_DEVICE_MONITOR
// Gstreamer 1.4
#include "gstdevice.h"

#else
// Gstreamer 1.2
#include "pulseaudio.h"

#endif

2) gstdevice.c and pulseaudio.c modules must have similar call-interfaces (similar functions). This needs to be done.

Kindly
  moma