Changeset 5270:e25346c13638 in roaraudio for include
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include
- Files:
-
- 7 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; -
include/libroardsp/amp.h
r4708 r5270 42 42 int roar_amp_pcm_8bit (int8_t * output, int8_t * input, int samples, int channels, struct roar_mixer_settings * set); 43 43 int roar_amp_pcm_16bit (int16_t * output, int16_t * input, int samples, int channels, struct roar_mixer_settings * set); 44 int roar_amp_pcm_24bit (void * output, void * input, int samples, int channels, struct roar_mixer_settings * set);45 44 int roar_amp_pcm_32bit (int32_t * output, int32_t * input, int samples, int channels, struct roar_mixer_settings * set); 46 45 -
include/libroardsp/fader.h
r4708 r5270 43 43 struct roar_fader_state { 44 44 int rate; 45 s ize_tpcmoffset;45 ssize_t pcmoffset; 46 46 ssize_t start; 47 47 ssize_t stop; -
include/libroardsp/mixer.h
r4708 r5270 42 42 int roar_mix_pcm_8bit (int8_t * output, int8_t ** input, int samples); 43 43 int roar_mix_pcm_16bit (int16_t * output, int16_t ** input, int samples); 44 int roar_mix_pcm_24bit (void * output, void ** input, int samples);45 44 int roar_mix_pcm_32bit (int32_t * output, int32_t ** input, int samples); 46 45
Note: See TracChangeset
for help on using the changeset viewer.