Searched refs:SFM_WRITE (Results 1 – 3 of 3) sorted by relevance
369 handle->mode = SFM_WRITE; in sf_open_write()389 case SFM_WRITE: in sf_open()404 if (handle->mode == SFM_WRITE) { in sf_close()573 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_short()610 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_float()635 if (handle == NULL || handle->mode != SFM_WRITE || ptr == NULL || desiredFrames <= 0) in sf_writef_int()
46 #define SFM_WRITE 2 macro
154 SNDFILE *sfout = sf_open(outputFile, SFM_WRITE, &sfinfoout); in main()