Changeset 5533:42f48072307c in roaraudio for roarclients/roarcat.c
- Timestamp:
- 06/12/12 14:39:40 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcat.c
r5457 r5533 37 37 " --bits -B BITS - Set bits per sample\n" 38 38 " --chans -C CHANNELS - Set number of channels\n" 39 " --codec CODEC - Set the codec\n" 39 " --codec -E CODEC - Set the codec\n" 40 " --aiprofile PROFILE - Set audio profile\n" 40 41 " --wave - Use Wave Audio (PCM) as input\n" 41 42 " --midi - Use MIDI Audio as input\n" … … 70 71 int file_opened = 0; 71 72 73 // TODO: make use of roar_stdin. 72 74 if ( roar_vio_open_fh(&file, ROAR_STDIN) == -1 ) 73 75 return 1; … … 98 100 return 1; 99 101 } 102 } else if ( !strcmp(k, "--aiprofile") ) { 103 if ( roar_profile2info(&info, argv[++i]) == -1 ) { 104 fprintf(stderr, "Error: Can not load audio profile: %s: %s\n", argv[i], roar_error2str(roar_error)); 105 return 1; 106 } 100 107 101 108 } else if ( !strcmp(k, "--wave") ) {
Note: See TracChangeset
for help on using the changeset viewer.