Changeset 1681


Ignore:
Timestamp:
Jan 12, 2008 11:23:02 AM (16 years ago)
Author:
bennylp
Message:

Ticket #446: Added sample application to mix WAV files using conference bridge

Location:
pjproject/trunk/pjsip-apps
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/Samples-vc.mak

    r1678 r1681  
    5353          $(BINDIR)\encdec.exe \ 
    5454          $(BINDIR)\level.exe \ 
     55          $(BINDIR)\mix.exe \ 
    5556          $(BINDIR)\pjsip-perf.exe \ 
    5657          $(BINDIR)\playfile.exe \ 
  • pjproject/trunk/pjsip-apps/build/Samples.mak

    r1678 r1681  
    1717           encdec \ 
    1818           level \ 
     19           mix \ 
    1920           pjsip-perf \ 
    2021           playfile \ 
  • pjproject/trunk/pjsip-apps/build/samples.dsp

    r1678 r1681  
    115115# Begin Source File 
    116116 
     117SOURCE=..\src\samples\mix.c 
     118# End Source File 
     119# Begin Source File 
     120 
    117121SOURCE="..\src\samples\pjsip-perf.c" 
    118122# End Source File 
  • pjproject/trunk/pjsip-apps/build/samples.vcproj

    r1678 r1681  
    9292                        <File 
    9393                                RelativePath="..\src\samples\level.c" 
     94                                > 
     95                        </File> 
     96                        <File 
     97                                RelativePath="..\src\samples\mix.c" 
    9498                                > 
    9599                        </File> 
  • pjproject/trunk/pjsip-apps/src/samples/encdec.c

    r1679 r1681  
    202202        out_frm.size = sizeof(pcmbuf); 
    203203         
    204         if ((pj_rand() % 100) < lost_pct) { 
     204        if ((pj_rand() % 100) < (int)lost_pct) { 
    205205            /* Simulate loss */ 
    206206            CHECK( codec->op->recover(codec, sizeof(pcmbuf), &out_frm) ); 
Note: See TracChangeset for help on using the changeset viewer.