Changeset 1009


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/tonegen.c

    r974 r1009  
    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.