Lines Matching refs:sfinfo
75 SF_INFO sfinfo ;
110 sf_count_t frames (void) const { return p ? p->sfinfo.frames : 0 ; }
111 int format (void) const { return p ? p->sfinfo.format : 0 ; }
112 int channels (void) const { return p ? p->sfinfo.channels : 0 ; }
113 int samplerate (void) const { return p ? p->sfinfo.samplerate : 0 ; }
166 : sf (SF_NULL), sfinfo (), ref (1)
182 p->sfinfo.frames = 0 ;
183 p->sfinfo.channels = chans ;
184 p->sfinfo.format = fmt ;
185 p->sfinfo.samplerate = srate ;
186 p->sfinfo.sections = 0 ;
187 p->sfinfo.seekable = 0 ;
189 p->sf = sf_open (path, mode, &p->sfinfo) ;
204 p->sfinfo.frames = 0 ;
205 p->sfinfo.channels = chans ;
206 p->sfinfo.format = fmt ;
207 p->sfinfo.samplerate = srate ;
208 p->sfinfo.sections = 0 ;
209 p->sfinfo.seekable = 0 ;
211 p->sf = sf_open (path.c_str (), mode, &p->sfinfo) ;
229 p->sfinfo.frames = 0 ;
230 p->sfinfo.channels = chans ;
231 p->sfinfo.format = fmt ;
232 p->sfinfo.samplerate = srate ;
233 p->sfinfo.sections = 0 ;
234 p->sfinfo.seekable = 0 ;
236 p->sf = sf_open_fd (fd, mode, &p->sfinfo, close_desc) ;
251 p->sfinfo.frames = 0 ;
252 p->sfinfo.channels = chans ;
253 p->sfinfo.format = fmt ;
254 p->sfinfo.samplerate = srate ;
255 p->sfinfo.sections = 0 ;
256 p->sfinfo.seekable = 0 ;
258 p->sf = sf_open_virtual (&sfvirtual, mode, &p->sfinfo, user_data) ;
324 SF_INFO sfinfo ;
326 sfinfo.frames = 0 ;
327 sfinfo.channels = chans ;
328 sfinfo.format = fmt ;
329 sfinfo.samplerate = srate ;
330 sfinfo.sections = 0 ;
331 sfinfo.seekable = 0 ;
333 return sf_format_check (&sfinfo) ;
438 p->sfinfo.frames = 0 ;
439 p->sfinfo.channels = chans ;
440 p->sfinfo.format = fmt ;
441 p->sfinfo.samplerate = srate ;
442 p->sfinfo.sections = 0 ;
443 p->sfinfo.seekable = 0 ;
445 p->sf = sf_wchar_open (wpath, mode, &p->sfinfo) ;