Changeset 1770:c529c28e2e4b in roaraudio
- Timestamp:
- 05/19/09 15:40:51 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcatplay.c
r1635 r1770 84 84 mode = MODE_PASSIVE; 85 85 86 #ifndef ROAR_HAVE_UNIX 87 if ( mode == MODE_PASSIVE ) { 88 fprintf(stderr, "Error: passive mode is not supported on this system.\n", k); 89 return 1; 90 } 91 #endif 92 86 93 if ( file == NULL ) 87 94 file = "/dev/stdin"; 88 95 96 #ifndef ROAR_HAVE_UNIX 89 97 if ( mode == MODE_PASSIVE ) { 90 98 if ( roar_simple_connect(con, server, "roarcatplay") == -1 ) { … … 109 117 110 118 } else { // MODE_SIMPLE 119 #endif 111 120 if ( roar_simple_play_file(file, server, "roarcatplay") == -1 ) { 112 121 ROAR_ERR("Can not start playback"); 113 122 return 1; 114 123 } 124 #ifndef ROAR_HAVE_UNIX 115 125 } 126 #endif 116 127 117 128 return 0;
Note: See TracChangeset
for help on using the changeset viewer.