Spandspi's FAX engine now gives separate size and resolution information about

the images on the line and the images in the file. The ties in with the recent
addition of image resizing and flattenign for colur images.
mod_spandsp has been changed to make use of the additional information.
This commit is contained in:
Steve Underwood committed 2013-03-10 20:55:21 +08:00
1 parent d9a4b8a9b0
commit 45eaaf4178
14 files changed
+172 -44

No files matched your search

+2 -2
View File
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
exit(2);
}
gen = dtmf_tx_init(NULL);
gen = dtmf_tx_init(NULL, NULL, NULL);
len = dtmf_tx(gen, amp, 16384);
printf("Generated %d samples\n", len);
sf_writef_short(outhandle, amp, len);
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
}
while (len > 0);
dtmf_tx_init(gen);
dtmf_tx_init(gen, NULL, NULL);
len = dtmf_tx(gen, amp, 16384);
printf("Generated %d samples\n", len);
sf_writef_short(outhandle, amp, len);