Lines Matching refs:sfinfo
139 SF_INFO sfinfo ;
144 sfinfo.samplerate = 44100 ;
145 sfinfo.format = filetype ;
146 sfinfo.channels = 1 ;
147 sfinfo.frames = 0 ;
149 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ;
169 test_seek_or_die (file, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
173 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ;
175 if (sfinfo.frames != BUFFER_LEN)
176 { printf ("\n\nLine %d: Bad frame count %d (should be %d)\n\n", __LINE__, (int) sfinfo.frames, BUFFER_LEN) ;