Displaying 2 results from an estimated 2 matches for "mytestfile".
2010 Nov 21
8
[beginner] simple keyword to exit script ?
I have tried quit(), and return() but first exits from whole graphical
interface and second is only for functions. What I need only to exit from
current script and return to the console.
--
View this message in context: http://r.789695.n4.nabble.com/beginner-simple-keyword-to-exit-script-tp3052417p3052417.html
Sent from the R help mailing list archive at Nabble.com.
2007 Aug 24
0
speex DTX chore
...const int QLTY = 4;
const int VAD = 1;
const int DENIOSE = 1;
const int AGC = 1;
const int ENH = 1;
const int DTX = 1;
int main ()
{
SpeexEncoder* coder;
decoder = new SpeexDecoder(FREQ, ENH);
coder = new SpeexEncoder(FREQ, QLTY, VAD, DENIOSE, AGC, DTX);
char fileName[] = "D:\\Speex\\myTestFiles\\test.raw";
FILE *fin = fopen(fileName, "rb");
if (!fin)
{
perror(fileName);
exit(1);
}
short samples[SAMPLES_LEN] = {0};
char output[CODED_DATA_LEN] = {0};
int ret = 0;
int written = 0;
while (true)
{
ret = fread(samples, sizeof(short), SAMPLES_LEN,...