Lines Matching defs:const

84 			SndfileHandle (const char *path, int mode = SFM_READ,
86 SndfileHandle (std::string const & path, int mode = SFM_READ,
94 SndfileHandle (const wchar_t *wpath, int mode = SFM_READ,
100 SndfileHandle (const SndfileHandle &orig) ;
101 SndfileHandle & operator = (const SndfileHandle &rhs) ;
104 int refCount (void) const { return (p == SF_NULL) ? 0 : p->ref ; }
106 operator bool () const { return (p != SF_NULL) ; }
108 bool operator == (const SndfileHandle &rhs) const { return (p == rhs.p) ; }
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 ; }
115 int error (void) const ;
116 const char * strError (void) const ;
124 int setString (int str_type, const char* str) ;
126 const char* getString (int str_type) const ;
135 sf_count_t write (const short *ptr, sf_count_t items) ;
136 sf_count_t write (const int *ptr, sf_count_t items) ;
137 sf_count_t write (const float *ptr, sf_count_t items) ;
138 sf_count_t write (const double *ptr, sf_count_t items) ;
145 sf_count_t writef (const short *ptr, sf_count_t frames) ;
146 sf_count_t writef (const int *ptr, sf_count_t frames) ;
147 sf_count_t writef (const float *ptr, sf_count_t frames) ;
148 sf_count_t writef (const double *ptr, sf_count_t frames) ;
151 sf_count_t writeRaw (const void *ptr, sf_count_t bytes) ;
174 SndfileHandle::SndfileHandle (const char *path, int mode, int fmt, int chans, int srate)
193 } /* SndfileHandle const char * constructor */
196 SndfileHandle::SndfileHandle (std::string const & path, int mode, int fmt, int chans, int srate)
272 SndfileHandle::SndfileHandle (const SndfileHandle &orig)
279 SndfileHandle::operator = (const SndfileHandle &rhs)
294 SndfileHandle::error (void) const
297 inline const char *
298 SndfileHandle::strError (void) const
314 SndfileHandle::setString (int str_type, const char* str)
317 inline const char*
318 SndfileHandle::getString (int str_type) const
355 SndfileHandle::write (const short *ptr, sf_count_t items)
359 SndfileHandle::write (const int *ptr, sf_count_t items)
363 SndfileHandle::write (const float *ptr, sf_count_t items)
367 SndfileHandle::write (const double *ptr, sf_count_t items)
387 SndfileHandle::writef (const short *ptr, sf_count_t frame_count)
391 SndfileHandle::writef (const int *ptr, sf_count_t frame_count)
395 SndfileHandle::writef (const float *ptr, sf_count_t frame_count)
399 SndfileHandle::writef (const double *ptr, sf_count_t frame_count)
407 SndfileHandle::writeRaw (const void *ptr, sf_count_t bytes)
430 SndfileHandle::SndfileHandle (const wchar_t *wpath, int mode, int fmt, int chans, int srate)
449 } /* SndfileHandle const wchar_t * constructor */