Changeset 1010


Ignore:
Timestamp:
Feb 27, 2007 12:13:47 AM (13 years ago)
Author:
bennylp
Message:

Fixed ticket #139: Unable to play next tone after stop is called on tone generator (thanks Antonio F. Cano)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjmedia/src/pjmedia/tonegen.c

    r974 r1010  
    356356    struct tonegen *tonegen = (struct tonegen*) port; 
    357357    PJ_ASSERT_RETURN(port->info.signature == SIGNATURE, PJ_EINVAL); 
    358     return tonegen->count = 0; 
     358    tonegen->count = 0; 
     359    tonegen->cur_digit = 0; 
     360    tonegen->dig_samples = 0; 
     361    return PJ_SUCCESS; 
    359362} 
    360363 
Note: See TracChangeset for help on using the changeset viewer.