Changeset 4295:599bb8861565 in roaraudio
- Timestamp:
- 08/31/10 03:15:13 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/ltm.h
r4294 r4295 30 30 * or libpulse*: 31 31 * The libs libroaresd, libroararts and libroarpulse link this lib 32 * and are therefore GPL. Because of this it may be ill igal to use32 * and are therefore GPL. Because of this it may be illegal to use 33 33 * them with any software that uses libesd, libartsc or libpulse*. 34 34 */ … … 46 46 * Takes 47 47 * - connection to server, 48 * - used MT (mon etoring type),48 * - used MT (monitoring type), 49 49 * - used window, 50 50 * - array of streams, … … 54 54 * Registration is stacked. 55 55 * This means that if you register a stream twice you need to unregister it twice. 56 * This is becau e maybe clients may wich to use LTM and it would be bad56 * This is because maybe clients may witch to use LTM and it would be bad 57 57 * if the first client which disconnects would remove the LTM from the stream. 58 58 */ … … 67 67 * unregister a subset. or a larger set of streams. 68 68 * 69 * The given mt mus st match. If it does not the behavor is undefined.69 * The given mt must match. If it does not the behavior is undefined. 70 70 * The server may refuse the request or just unregister the given bits. 71 71 * you should not do this. … … 88 88 * The MT is allowed to not match the registered mt but must not 89 89 * contain more bits than registered. In most causes this match 90 * the regist red MT.90 * the registered MT. 91 91 * 92 92 * The window must match the window used then streams got registered. 93 93 * 94 94 * The list of streams must not match a single registration. 95 * but all streams must be regist red with at least the bits used in mt95 * but all streams must be registered with at least the bits used in mt 96 96 * set at registration. 97 97 * … … 109 109 /* This function frees the result. 110 110 * This may be defined as macro. Never call the function 111 * this ref rences as directly if this is a macro.111 * this references as directly if this is a macro. 112 112 */ 113 113 #define roar_ltm_freeres(x) roar_mm_free((x)) … … 129 129 130 130 /* Get the number of channels a stream in result has. 131 * T hakes the result and the index of the stream in the result.131 * Takes the result and the index of the stream in the result. 132 132 * The stream index is the index of the stream in the stream list 133 133 * you provided to roar_ltm_get(). This is not the stream id. … … 137 137 * You must use this function to get the number of channels for a stream 138 138 * and not any value you got on some other way. 139 * This is becau e this function returns the value in the very moment in witch the139 * This is because this function returns the value in the very moment in witch the 140 140 * result set was collected in the server. 141 141 */ … … 143 143 144 144 /* Extract a single value from the result. 145 * T hakes145 * Takes 146 146 * - the result, 147 147 * - the mt for which you ask, … … 157 157 * 158 158 * The channel is the channel number you ask data for. 159 * it must not be bigger than one less what roar_ltm_get_numchans() ret runed.159 * it must not be bigger than one less what roar_ltm_get_numchans() returned. 160 160 * (channels are counted from zero to N-1, not from 1 to N) 161 161 */
Note: See TracChangeset
for help on using the changeset viewer.