Changeset 5270:e25346c13638 in roaraudio for include/libroar
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/libroar
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/basic.h
r5240 r5270 58 58 unsigned int stream; 59 59 uint32_t pos; 60 int datalen;60 size_t datalen; 61 61 char data[LIBROAR_BUFFER_MSGDATA]; 62 62 int16_t seq; -
include/libroar/config.h
r5202 r5270 70 70 71 71 struct roar_libroar_config_codec { 72 u nsigned int codec; // Codec ID72 uint32_t codec; // Codec ID 73 73 74 74 // parameters which are set: -
include/libroar/ltm.h
r4708 r5270 140 140 * result set was collected in the server. 141 141 */ 142 int roar_ltm_get_numchans(struct roar_ltm_result * res, int streamidx);142 int roar_ltm_get_numchans(struct roar_ltm_result * res, size_t streamidx); 143 143 144 144 /* Extract a single value from the result. … … 160 160 * (channels are counted from zero to N-1, not from 1 to N) 161 161 */ 162 int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, int streamidx, int channel);162 int64_t roar_ltm_extract(struct roar_ltm_result * res, int mt, size_t streamidx, int channel); 163 163 164 164 #endif -
include/libroar/stream.h
r5238 r5270 96 96 int roar_stream_m2s (struct roar_stream * s, struct roar_message * m); 97 97 98 int roar_str2codec (const char* codec) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE;99 const char * roar_codec2str (const intcodec) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE;98 int32_t roar_str2codec (const char * codec) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE; 99 const char * roar_codec2str (const uint32_t codec) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 100 100 101 int roar_mime2codec (const char* mime) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE;102 const char * roar_codec2mime (const intcodec) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE;101 int32_t roar_mime2codec (const char * mime) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE; 102 const char * roar_codec2mime (const uint32_t codec) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_PURE; 103 103 104 104 int32_t roar_str2rate(const char * rate) _LIBROAR_STREAM_STDATTRS _LIBROAR_ATTR_PURE;
Note: See TracChangeset
for help on using the changeset viewer.