Displaying 1 result from an estimated 1 matches for "gnrchannels".
2010 Mar 03
2
uint decode error on visual studio...
...wever my output file clearly suffers from "uint decode error" on
windows, but on linux it's just peachy.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libcelt/celt.h>
int gBitRate=128000;
int gFrameSize=256;
int gSampleRate=44100;
int gNrChannels=1;
int main(int argc, char* argv[])
{
const char* inputfilename="..\\input_mono.snd";
const char* encodedfilename="..\\encoded_mono.celt";
const char* outputfilename="..\\output_mono.snd";
FILE* encodedfile=0;
FILE* inputfile=fopen(inputfilename,"rb");
i...