Changeset 4289:1b0960dba7e3 in roaraudio
- Timestamp:
- 08/29/10 01:31:26 (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/streams.h
r4272 r4289 166 166 int streams_ltm_ctl (int id, int mt, int window, int cmd); 167 167 int streams_ltm_calc (int id, struct roar_audio_info * info, void * data, size_t len); 168 struct roar_stream_ltm * streams_l zm_get(int id, int mt, int window);168 struct roar_stream_ltm * streams_ltm_get(int id, int mt, int window); 169 169 170 170 int streams_ctl (int id, int_least32_t cmd, void * data); -
roard/req.c
r4287 r4289 796 796 797 797 for (i = 6; i < mes->datalen/2; i++) { 798 if ( (ltm = streams_l zm_get(d[i], d[5], d[3])) == NULL )798 if ( (ltm = streams_ltm_get(d[i], d[5], d[3])) == NULL ) 799 799 return -1; 800 800 … … 803 803 } else { 804 804 ROAR_DBG("req_on_get_stream_para(client=%i, ...): LTM single-stream request for stream %i...", client, mes->stream); 805 if ( (ltm = streams_l zm_get(mes->stream, d[5], d[3])) == NULL )805 if ( (ltm = streams_ltm_get(mes->stream, d[5], d[3])) == NULL ) 806 806 return -1; 807 807 … … 839 839 if ( mes->stream == -1 ) { 840 840 for (i = 6; i < mes->datalen/2; i++) { 841 if ( (ltm = streams_l zm_get(d[i], d[5], d[3])) == NULL )841 if ( (ltm = streams_ltm_get(d[i], d[5], d[3])) == NULL ) 842 842 return -1; 843 843 … … 861 861 } 862 862 } else { 863 if ( (ltm = streams_l zm_get(mes->stream, d[5], d[3])) == NULL )863 if ( (ltm = streams_ltm_get(mes->stream, d[5], d[3])) == NULL ) 864 864 return -1; 865 865 -
roard/streams.c
r4288 r4289 1153 1153 } 1154 1154 1155 struct roar_stream_ltm * streams_l zm_get(int id, int mt, int window) {1155 struct roar_stream_ltm * streams_ltm_get(int id, int mt, int window) { 1156 1156 struct roar_stream_server * ss; 1157 1157 struct roar_stream_ltm * ltm = NULL;
Note: See TracChangeset
for help on using the changeset viewer.