Changeset 1024:27fc71901f66 in roaraudio for roarclients/roarmonhttp.c
- Timestamp:
- 12/21/08 15:16:19 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarmonhttp.c
r1023 r1024 40 40 41 41 printf("Content-type: %s\r\n", mime); 42 printf("Server: RoarAudio (roarmonhttp $Revision$)\r\n"); 42 43 printf("\r\n"); 43 44 … … 152 153 if ( (codec = roar_str2codec(v)) == -1 ) 153 154 return 1; 155 } else if ( !strcmp(k, "channels") ) { 156 channels = atoi(v); 157 } else if ( !strcmp(k, "rate") ) { 158 rate = atoi(v); 159 } else if ( !strcmp(k, "bits") ) { 160 bits = atoi(v); 154 161 } else { 155 162 return 1;
Note: See TracChangeset
for help on using the changeset viewer.