Lines Matching refs:binfo
106 { SF_BROADCAST_INFO_2K binfo ;
109 memset (&binfo, 0, sizeof (binfo)) ;
134 if (sf_command (infile, SFC_GET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0)
147 { memset (binfo.x, 0, sizeof (binfo.x)) ; \
148 memcpy (binfo.x, info->x, MIN (strlen (info->x), sizeof (binfo.x))) ; \
161 { binfo.x = round (atof (info->x) * 100.0) ; \
174 binfo.time_reference_high = (ts >> 32) ;
175 binfo.time_reference_low = (ts & 0xffffffff) ;
181 { int slen = (int) strlen (binfo.coding_history) ;
183 while (slen > 1 && isspace (binfo.coding_history [slen - 1]))
186 memcpy (binfo.coding_history + slen, info->coding_history, sizeof (binfo.coding_history) - slen) ;
189 { size_t slen = MIN (strlen (info->coding_history), sizeof (binfo.coding_history)) ;
191 memset (binfo.coding_history, 0, sizeof (binfo.coding_history)) ;
192 memcpy (binfo.coding_history, info->coding_history, slen) ;
193 binfo.coding_history_size = (uint32_t) slen ;
197 if (sf_command (outfile, SFC_SET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0)