Changeset 5950:7fe8f5df7a83 in roaraudio for roarclients/roarbidir.c
- Timestamp:
- 10/20/13 13:52:15 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarbidir.c
r5823 r5950 69 69 70 70 if ( strcmp(k, "--server") == 0 ) { 71 ROAR_CKHAVEARGS(1); 71 72 server = argv[++i]; 72 73 } else if ( strcmp(k, "--rate") == 0 || strcmp(k, "-R") == 0 ) { 74 ROAR_CKHAVEARGS(1); 73 75 info.rate = roar_str2rate(argv[++i]); 74 76 } else if ( strcmp(k, "--bits") == 0 || strcmp(k, "-B") == 0 ) { 77 ROAR_CKHAVEARGS(1); 75 78 info.bits = roar_str2bits(argv[++i]); 76 79 } else if ( strcmp(k, "--channels") == 0 || strcmp(k, "--chans") == 0 || strcmp(k, "-C") == 0 ) { 80 ROAR_CKHAVEARGS(1); 77 81 info.channels = roar_str2channels(argv[++i]); 78 82 } else if ( strcmp(k, "--codec") == 0 || strcmp(k, "-E") == 0 ) { 83 ROAR_CKHAVEARGS(1); 79 84 info.codec = roar_str2codec(argv[++i]); 80 85 } else if ( !strcmp(k, "--aiprofile") ) { 86 ROAR_CKHAVEARGS(1); 81 87 if ( roar_profile2info(&info, argv[++i]) == -1 ) { 82 88 fprintf(stderr, "Error: Can not load audio profile: %s: %s\n", argv[i], roar_error2str(roar_error));
Note: See TracChangeset
for help on using the changeset viewer.