Searched refs:SFM_WRITE (Results 1 – 3 of 3) sorted by relevance
368 handle->mode = SFM_WRITE; in sf_open_write()388 case SFM_WRITE: in sf_open()403 if (handle->mode == SFM_WRITE) { in sf_close()572 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_short()609 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_float()634 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_int()
48 #define SFM_WRITE 2 macro
227 SNDFILE *sfout = sf_open(outputFile, SFM_WRITE, &sfinfoout); in main()