- Timestamp:
- 08/12/06 16:22:51 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/mpcdec/mpcdec.h
r3 r4 33 33 */ 34 34 35 /// \file m usepack.h36 /// Top level include file for libm usepack.35 /// \file mpcdec.h 36 /// Top level include file for libmpcdec. 37 37 38 #ifndef _m usepack_h_39 #define _m usepack_h_38 #ifndef _mpcdec_h_ 39 #define _mpcdec_h_ 40 40 41 41 #ifdef __cplusplus … … 46 46 #include <stdlib.h> 47 47 #include <string.h> 48 #include <math.h>49 48 50 #include "musepack/config_types.h" 51 #include "musepack/decoder.h" 52 #include "musepack/math.h" 53 #include "musepack/reader.h" 54 #include "musepack/streaminfo.h" 49 #ifndef WIN32 50 #include "mpcdec/config_types.h" 51 #else 52 #include "mpcdec/config_win32.h" 53 #endif 54 55 #include "decoder.h" 56 #include "math.h" 57 #include "reader.h" 58 #include "streaminfo.h" 55 59 56 60 enum { … … 95 99 /// \param si streaminfo structure indicating format of source stream 96 100 /// \return TRUE if decoder was initalized successfully, FALSE otherwise 97 BOOLmpc_decoder_initialize(mpc_decoder *d, mpc_streaminfo *si);101 mpc_bool_t mpc_decoder_initialize(mpc_decoder *d, mpc_streaminfo *si); 98 102 99 103 /// Sets decoder sample scaling factor. All decoded samples will be multiplied … … 117 121 118 122 /// Seeks to the specified sample in the source stream. 119 BOOLmpc_decoder_seek_sample(mpc_decoder *d, mpc_int64_t destsample);123 mpc_bool_t mpc_decoder_seek_sample(mpc_decoder *d, mpc_int64_t destsample); 120 124 121 125 /// Seeks to specified position in seconds in the source stream. 122 BOOLmpc_decoder_seek_seconds(mpc_decoder *d, double seconds);126 mpc_bool_t mpc_decoder_seek_seconds(mpc_decoder *d, double seconds); 123 127 124 128 #ifdef __cplusplus … … 126 130 #endif // __cplusplus 127 131 128 #endif // _m usepack_h_132 #endif // _mpcdec_h_
Note: See TracChangeset
for help on using the changeset viewer.