Fortran SFF API to data I/O streams in C++

◆ sff_modwid2samps__()

int sff_modwid2samps__ ( char *  wid2line,
integer samps,
ftnlen  wid2line_len 
)

modify number of samples in WID2 line

Description from stuff.f:

c----------------------------------------------------------------------
subroutine sff_ModWid2samps(wid2line, samps)
c
c Just modify samps-entry in WID2 line
c
c input:
c samps new number of samples to set
c input and output:
c wid2line modified WID2 line
c
c no default setting are allowed
c----------------------------------------------------------------------

Definition at line 61 of file fapid_sff_modwid2samps.cc.

References fapidxx::WID2container::encode(), and fapidxx::WID2container::wid2.

63 {
64  fapidxx::WID2container wid2c(wid2line, wid2line_len);
65  wid2c.wid2.nsamples=(*samps);
66  wid2c.encode(wid2line, wid2line_len);
67  return 0;
68 } /* sff_modwid2samps__ */
This struct is used to pass WID2 line data within libfapidxx.
Definition: wid2container.h:62
Here is the call graph for this function: