Lines Matching refs:sfinfo
64 SF_INFO sfinfo ;
70 sfinfo.samplerate = 44100 ;
71 sfinfo.format = SF_FORMAT_RAW | typeminor ;
72 sfinfo.channels = 1 ;
73 sfinfo.frames = 0 ;
75 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_TRUE, __LINE__) ;
86 sndfile = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ;
89 if (ABS (BUFFER_LEN - sfinfo.frames) > 1)
90 { printf ("\n\nLine %d : Incorrect sample count (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, BUFFER_LEN) ;
106 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
121 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
136 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
156 SF_INFO sfinfo ;
169 sfinfo.samplerate = 44100 ;
170 sfinfo.format = SF_FORMAT_RAW | 0xABCD ;
171 sfinfo.channels = 1 ;
173 if ((file = sf_open (filename, SFM_READ, &sfinfo)) != NULL)