search for: _tfopen

Displaying 2 results from an estimated 2 matches for "_tfopen".

Did you mean: _fopen
2006 Dec 20
1
Broken denoiser in SVN (?)
...e noise, but then it unacceptable hurts a voice. Here is a code that I use: #define TEST_DENOISE_SAMPLES 2000 void test_denoise() { FILE *fin; FILE *fout; spx_int32_t rate=0; int chan=1; int fmt=16; int denoise_enabled = 1; SpeexPreprocessState *preprocess; fin = _tfopen(_T("Storage Card\\1.raw"), _T("rb")); if(!fin) return; fout = _tfopen(_T("Storage Card\\2.raw"), _T("wb")); if(!fout) { fclose(fin); return; } preprocess = speex_preprocess_state_init(TEST_DENOISE_SAMPLES, 11025...
2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
...r, 16) ; > > FLAC__stream_encoder_set_sample_rate ( encoder, 44100 ); > > FLAC__stream_encoder_set_verify( encoder, FALSE ); > > FLAC__stream_encoder_set_blocksize( encoder, 0 ); > > FLAC__stream_encoder_set_compression_level( encoder, 5); > > >> FILE* flacfile = _tfopen(FullFileName,_T("w+b")); > > if( flacfile == NULL ) > > { > > printf(_T("Error creating file %s"), FullFileName); > > return; > > } > > >> FLAC__StreamEncoderInitStatus InitStatus; > > InitStatus=FLAC__s...