Skip to content

Commit f5943c7

Browse files
committed
iaf is treated as a bitmap everywhere else in the code, not a boolean, and its function as a bitmap is necessary, rather than as a boolean.
1 parent a701c59 commit f5943c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/spandsp/t30_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ SPAN_DECLARE(void) t30_set_tx_file(t30_state_t *s, const char *file, int start_p
454454
/*! Set Internet aware FAX (IAF) mode.
455455
\brief Set Internet aware FAX (IAF) mode.
456456
\param s The T.30 context.
457-
\param iaf True for IAF, or false for non-IAF. */
458-
SPAN_DECLARE(void) t30_set_iaf_mode(t30_state_t *s, bool iaf);
457+
\param iaf Bitmap for IAF values. */
458+
SPAN_DECLARE(void) t30_set_iaf_mode(t30_state_t *s, int iaf);
459459

460460
/*! Specify if error correction mode (ECM) is allowed by a T.30 context.
461461
\brief Select ECM capability.

src/t30_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ SPAN_DECLARE(void) t30_set_tx_file(t30_state_t *s, const char *file, int start_p
775775
}
776776
/*- End of function --------------------------------------------------------*/
777777

778-
SPAN_DECLARE(void) t30_set_iaf_mode(t30_state_t *s, bool iaf)
778+
SPAN_DECLARE(void) t30_set_iaf_mode(t30_state_t *s, int iaf)
779779
{
780780
s->iaf = iaf;
781781
}

0 commit comments

Comments
 (0)