Skip to content
Snippets Groups Projects
Commit 2bff3720 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#5168] Remove printf from codec's encode & decode method

parent ff17df12
Branches
Tags
No related merge requests found
......@@ -31,7 +31,6 @@
#include "../common.h"
#include "audiocodec.h"
#include <stdio.h>
class Alaw : public AudioCodec
{
......@@ -51,7 +50,6 @@ class Alaw : public AudioCodec
virtual ~Alaw() {}
virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) {
printf ("Decoded by alaw ");
int16* end = dst+size;
while (dst<end)
......@@ -61,7 +59,6 @@ class Alaw : public AudioCodec
}
virtual int codecEncode (unsigned char *dst, short *src, unsigned int size) {
printf ("Encoded by alaw ");
size >>= 1;
uint8* end = dst+size;
......
......@@ -33,7 +33,6 @@
#include "../common.h"
#include "audiocodec.h"
#include <stdio.h>
class Ulaw : public AudioCodec
{
......@@ -51,7 +50,6 @@ class Ulaw : public AudioCodec
}
virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) {
printf ("Decoded by ulaw");
int16* end = dst+size;
while (dst<end)
......@@ -61,7 +59,6 @@ class Ulaw : public AudioCodec
}
virtual int codecEncode (unsigned char *dst, short *src, unsigned int size) {
printf ("Encoded by ulaw \n");
size >>= 1;
uint8* end = dst+size;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment