Lines Matching defs:file
117 { SNDFILE *file ;
123 /* Open the file in read only mode and fill in the SF_INFO struct. */
124 if ((file = sf_open (filename, SFM_READ, &sfinfo_rd)) == NULL)
128 check_log_buffer_or_die (file, __LINE__) ;
129 sf_close (file) ;
131 /* Now open read/write and close the file. */
132 if ((file = sf_open (filename, SFM_RDWR, &sfinfo_rw)) == NULL)
136 check_log_buffer_or_die (file, __LINE__) ;
137 sf_close (file) ;
141 if ((file = sf_open (filename, SFM_READ, &sfinfo_rw)) == NULL)
145 check_log_buffer_or_die (file, __LINE__) ;
146 sf_close (file) ;