mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
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:
1 parent
d9a4b8a9b0
commit
45eaaf4178
14 files changed
+172
-44
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user