Displaying 5 results from an estimated 5 matches for "pcmfile".
Did you mean:
cafile
2003 Sep 18
2
Adpcm quality
Please, try
exten => 99,1,Wait,1
exten => 99,2,Record,/tmp/pcmfile:pcm
exten => 99,3,Wait,1
exten => 99,4,Playback,/tmp/pcmfile
exten => 99,5,Wait,1
exten => 99,6,Record,/tmp/voxfile:vox
exten => 99,7,Wait,1
exten => 99,8,Playback,/tmp/voxfile
(put your own extension).
Pcm recording is OK, playback is OK.
Adpcm recording is noticeably worse. Ad...
2005 Oct 17
3
Error Executing sampledec in VC++
...[200];
int nbBytes, n, temp;
void *decstate;
SpeexBits spxbits;
// Program starts here:
cout << "Starting spxdec...\n";
fo = fopen("samp.spx","rb");
if (fo == NULL)
cout << "Error!\n";
else
cout << "Okay!\n";
fs = fopen ("pcmfile", "wb");
if (fs == NULL)
cout << "Error creating file!\n";
else
cout << "File created!\n";
while (!(feof(fo)))
{
decstate = speex_decoder_init (&speex_nb_mode);
// Set default options for decoding:
temp = 1;
speex_decoder_ctl(decstate, SPEEX_SE...
2005 Oct 17
6
Error Executing sampledec in VC++
...spxbits;
>
>
> // Program starts here:
> cout << "Starting spxdec...\n";
> fo = fopen("samp.spx","rb");
>
> if (fo == NULL)
> cout << "Error!\n";
> else
> cout << "Okay!\n";
>
> fs = fopen ("pcmfile", "wb");
>
> if (fs == NULL)
> cout << "Error creating file!\n";
> else
> cout << "File created!\n";
>
>
> while (!(feof(fo)))
> {
> decstate = speex_decoder_init (&speex_nb_mode);
>
> // Set default options for...
2005 Oct 17
0
Error Executing sampledec in VC++
...spxbits;
// Program starts here:
cout << "Starting spxdec...\n";
fo = fopen("samp.spx","rb");
if (fo == NULL)
cout << "Error!\n";
else
cout << "Okay!\n";
fs = fopen ("pcmfile", "wb");
if (fs == NULL)
cout << "Error creating file!\n";
else
cout << "File created!\n";
while (!(feof(fo)))
{
decstate = speex_decoder_init (&speex_nb_mode);
// Set default options for...
2005 Oct 17
0
Error Executing sampledec in VC++
...;
SpeexBits spxbits;
// Program starts here:
cout << "Starting spxdec...\n";
fo = fopen("samp.spx","rb");
if (fo == NULL)
cout << "Error!\n";
else
cout << "Okay!\n";
fs = fopen ("pcmfile", "wb");
if (fs == NULL)
cout << "Error creating file!\n";
else
cout << "File created!\n";
while (!(feof(fo)))
{
decstate = speex_decoder_init (&speex_nb_mode);
// Set default options for decoding:
te...