Changeset 3954:b8440be58632 in roaraudio


Ignore:
Timestamp:
06/25/10 02:26:50 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --proto-aiprofile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r3907 r3954  
    179179        "     --proto-codec E   - Set codec parameter for protocol\n" 
    180180        "     --proto-chans C   - Set number of channels paramter for protocol\n" 
     181        "     --proto-aiprofile PROFILE\n" 
     182        "                       - Sets the audio profile for socket\n"  
    181183        "     --list-proto      - List supported protocols\n" 
    182184        "     --new-sock        - Parameters for new socket follows\n" 
     
    14751477   } 
    14761478#endif 
     1479  } else if ( strcmp(k, "--proto-aiprofile") == 0 ) { 
     1480#ifdef ROAR_SUPPORT_LISTEN 
     1481   if ( roar_profile2info(&sock_info, argv[++i]) == -1 ) { 
     1482    ROAR_ERR("Unknown audio profile: %s", argv[i]); 
     1483    return 1; 
     1484   } 
     1485#endif 
    14771486 
    14781487 
Note: See TracChangeset for help on using the changeset viewer.