Changeset 80 for trunk/sources/applications/applestreamingclient/include/protocols/variant/messagestructure.h
- Timestamp:
- 08/17/10 13:54:17 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/applications/applestreamingclient/include/protocols/variant/messagestructure.h
r74 r80 55 55 #define ASC_RES_INFO_BANDWIDTH_MAX_BUFFER_LEVEL "bufferMaxLevel" 56 56 #define ASC_RES_INFO_BANDWIDTH_MAX_BUFFER_LEVEL_PERCENT "bufferLevelPercent" 57 #define ASC_RES_INFO_PLAYBACK_MIN_TS "minTs" 58 #define ASC_RES_INFO_PLAYBACK_MAX_TS "maxTs" 59 #define ASC_RES_INFO_PLAYBACK_CHUNKS_COUNT "chunksCount" 60 #define ASC_RES_INFO_PLAYBACK_CURRENT_CHUNK "currentChunk" 61 #define ASC_RES_INFO_PLAYBACK_CURRENT_TS "currentTs" 57 62 58 63 #define ASC_RES_STATUS_OK 0 … … 276 281 } while(0) 277 282 283 #define ASC_RES_BUILD_OK_INFO_PLAYBACK(r,minTs, maxTs, chunksCount, currentTs, currentChunk) \ 284 do { \ 285 Variant params; \ 286 params[ASC_RES_INFO_PLAYBACK_MIN_TS]=(double)(minTs); \ 287 params[ASC_RES_INFO_PLAYBACK_MAX_TS]=(double)(maxTs); \ 288 params[ASC_RES_INFO_PLAYBACK_CHUNKS_COUNT]=(uint32_t)(chunksCount); \ 289 params[ASC_RES_INFO_PLAYBACK_CURRENT_CHUNK]=(uint32_t)(currentChunk); \ 290 params[ASC_RES_INFO_PLAYBACK_CURRENT_TS]=(double)(currentTs); \ 291 ASC_RES_BUILD(r,ASC_RES_STATUS_OK,params); \ 292 } while(0) 293 278 294 #endif /* _MESSAGESTRUCTURE_H */ 279 295
Note: See TracChangeset
for help on using the changeset viewer.
