Changeset 693
- Timestamp:
- Sep 2, 2006 11:45:18 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/build/Makefile
r689 r693 75 75 resample_port.o rtcp.o rtp.o sdp.o sdp_cmp.o sdp_neg.o \ 76 76 session.o silencedet.o sound_port.o stream.o \ 77 transport_udp.o wav_player.o wav_writer.o wave.o \ 77 tonegen.o transport_udp.o \ 78 wav_player.o wav_writer.o wave.o \ 78 79 $(SOUND_OBJS) $(NULLSOUND_OBJS) 79 80 -
pjproject/trunk/pjmedia/build/pjmedia.dsp
r653 r693 228 228 # Begin Source File 229 229 230 SOURCE=..\src\pjmedia\tonegen.c 231 # End Source File 232 # Begin Source File 233 230 234 SOURCE=..\src\pjmedia\transport_udp.c 231 235 # End Source File … … 361 365 362 366 SOURCE=..\include\pjmedia\stream.h 367 # End Source File 368 # Begin Source File 369 370 SOURCE=..\include\pjmedia\tonegen.h 363 371 # End Source File 364 372 # Begin Source File -
pjproject/trunk/pjmedia/include/pjmedia.h
r653 r693 51 51 #include <pjmedia/sound_port.h> 52 52 #include <pjmedia/splitcomb.h> 53 #include <pjmedia/tonegen.h> 53 54 #include <pjmedia/transport.h> 54 55 #include <pjmedia/transport_udp.h> -
pjproject/trunk/pjmedia/include/pjmedia/config.h
r658 r693 242 242 243 243 244 /** 245 * Maximum tones/digits that can be enqueued in the tone generator. 246 */ 247 #ifndef PJMEDIA_TONEGEN_MAX_DIGITS 248 # define PJMEDIA_TONEGEN_MAX_DIGITS 32 249 #endif 250 251 244 252 245 253 /** -
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r635 r693 1274 1274 for (i=0; i<digit_char->slen; ++i) { 1275 1275 unsigned pt; 1276 1277 if (digit_char->ptr[i] >= '0' && 1278 digit_char->ptr[i]<= '9')1276 int dig = pj_tolower(digit_char->ptr[i]); 1277 1278 if (dig >= '0' && dig <= '9') 1279 1279 { 1280 pt = dig it_char->ptr[i]- '0';1280 pt = dig - '0'; 1281 1281 } 1282 else if (pj_tolower(digit_char->ptr[i]) >= 'a' && 1283 pj_tolower(digit_char->ptr[i]) <= 'd') 1282 else if (dig >= 'a' && dig <= 'd') 1284 1283 { 1285 pt = pj_tolower(digit_char->ptr[i])- 'a' + 12;1284 pt = dig - 'a' + 12; 1286 1285 } 1287 else if (dig it_char->ptr[i]== '*')1286 else if (dig == '*') 1288 1287 { 1289 1288 pt = 10; 1290 1289 } 1291 else if (dig it_char->ptr[i]== '#')1290 else if (dig == '#') 1292 1291 { 1293 1292 pt = 11; -
pjproject/trunk/pjsip-apps/build/Samples-vc.mak
r578 r693 49 49 $(BINDIR)\sndinfo.exe \ 50 50 $(BINDIR)\sndtest.exe \ 51 $(BINDIR)\streamutil.exe 51 $(BINDIR)\streamutil.exe \ 52 $(BINDIR)\tonegen.exe 52 53 53 54 -
pjproject/trunk/pjsip-apps/build/Samples.mak
r653 r693 52 52 sndinfo \ 53 53 sndtest \ 54 streamutil 54 streamutil \ 55 tonegen 55 56 56 57 EXES := $(foreach file, $(SAMPLES), $(BINDIR)/$(file)-$(TARGET_NAME)$(HOST_EXE)) -
pjproject/trunk/pjsip-apps/build/samples.dsp
r646 r693 153 153 SOURCE=..\src\samples\streamutil.c 154 154 # End Source File 155 # Begin Source File 156 157 SOURCE=..\src\samples\tonegen.c 158 # End Source File 155 159 # End Group 156 160 # Begin Group "Header Files" -
pjproject/trunk/pjsip-apps/src/samples/debug.c
r646 r693 28 28 * #include "playfile.c" 29 29 */ 30 #include "aectest.c" 31 30 #include "tonegen.c"
Note: See TracChangeset
for help on using the changeset viewer.