Lines Matching refs:binfo
106 { SF_BROADCAST_INFO_2K binfo ; in merge_broadcast_info() local
109 memset (&binfo, 0, sizeof (binfo)) ; in merge_broadcast_info()
133 if (sf_command (infile, SFC_GET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info()
146 { memset (binfo.x, 0, sizeof (binfo.x)) ; \ in merge_broadcast_info()
147 memcpy (binfo.x, info->x, MIN (strlen (info->x), sizeof (binfo.x))) ; \ in merge_broadcast_info()
160 { binfo.x = round (atof (info->x) * 100.0) ; \ in merge_broadcast_info()
173 binfo.time_reference_high = (ts >> 32) ; in merge_broadcast_info()
174 binfo.time_reference_low = (ts & 0xffffffff) ; in merge_broadcast_info()
180 { int slen = strlen (binfo.coding_history) ; in merge_broadcast_info()
182 while (slen > 1 && isspace (binfo.coding_history [slen - 1])) in merge_broadcast_info()
185 … memcpy (binfo.coding_history + slen, info->coding_history, sizeof (binfo.coding_history) - slen) ; in merge_broadcast_info()
188 { size_t slen = MIN (strlen (info->coding_history), sizeof (binfo.coding_history)) ; in merge_broadcast_info()
190 memset (binfo.coding_history, 0, sizeof (binfo.coding_history)) ; in merge_broadcast_info()
191 memcpy (binfo.coding_history, info->coding_history, slen) ; in merge_broadcast_info()
192 binfo.coding_history_size = slen ; in merge_broadcast_info()
196 if (sf_command (outfile, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info()