David,
Attached is the patch produced with svn on linux so hopefully should
apply okay. It does not do anything but make the header work with c++.
Thanks for heads up on the api.
As I want to minimise the amount of packets to avoid overheads I am
only sending one every 250ms so a packet loss will be quite noticeable
if I do not send it twice and hope that the loss is not clumpy. So
just wondered if rather than just double up the packets it may be
possible to encode in a way that would work with either encode of a
frame but have better quality if both were received. Just an idea not
the end of the world if not.
My application is trying to emulate a radio network (all informed
simplex transmission) on a IP network using multicast for efficiency
and ease of joining the network. This should allow one network to
support a large number of virtual voice networks. My application is
kind off working it captures voice encodes and multicasts using a very
simple protocol. The receiver can subscribe to the multicast group get
the packets and decode and playback. I have just tried to implement a
jitter buffer and this has broken my receive but I will keep working.
Cheers,
Stuart
Index: src/codec2.h
===================================================================
--- src/codec2.h (revision 309)
+++ src/codec2.h (working copy)
@@ -26,6 +26,9 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifndef __CODEC2__
#define __CODEC2__
@@ -39,3 +42,8 @@
const unsigned char * bits);
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2