Home
last modified time | relevance | path

Searched refs:SFM_MASK (Results 1 – 2 of 2) sorted by relevance

/third_party/libsnd/src/
Dcommon.h183 #define SFM_MASK (SFM_READ | SFM_WRITE | SFM_RDWR) macro
184 #define SFM_UNMASK (~SFM_MASK)
Dsndfile.c1431 if (((whence & SFM_MASK) == SFM_WRITE && psf->file.mode == SFM_READ) || in sf_seek()
1432 ((whence & SFM_MASK) == SFM_READ && psf->file.mode == SFM_WRITE)) in sf_seek()
1504 { int new_mode = (whence & SFM_MASK) ? (whence & SFM_MASK) : psf->file.mode ; in sf_seek()