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()
134 if (sf_command (infile, SFC_GET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info()
147 { memset (binfo.x, 0, sizeof (binfo.x)) ; \ in merge_broadcast_info()
148 memcpy (binfo.x, info->x, MIN (strlen (info->x), sizeof (binfo.x))) ; \ in merge_broadcast_info()
161 { binfo.x = round (atof (info->x) * 100.0) ; \ in merge_broadcast_info()
174 binfo.time_reference_high = (ts >> 32) ; in merge_broadcast_info()
175 binfo.time_reference_low = (ts & 0xffffffff) ; in merge_broadcast_info()
181 { int slen = (int) strlen (binfo.coding_history) ; in merge_broadcast_info()
183 while (slen > 1 && isspace (binfo.coding_history [slen - 1])) in merge_broadcast_info()
186 … memcpy (binfo.coding_history + slen, info->coding_history, sizeof (binfo.coding_history) - slen) ; in merge_broadcast_info()
189 { size_t slen = MIN (strlen (info->coding_history), sizeof (binfo.coding_history)) ; in merge_broadcast_info()
191 memset (binfo.coding_history, 0, sizeof (binfo.coding_history)) ; in merge_broadcast_info()
192 memcpy (binfo.coding_history, info->coding_history, slen) ; in merge_broadcast_info()
193 binfo.coding_history_size = (uint32_t) slen ; in merge_broadcast_info()
197 if (sf_command (outfile, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info()