Changeset 1027:f60acea8db1e in roaraudio for roarclients/roarmonhttp.c
- Timestamp:
- 12/21/08 21:00:45 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarmonhttp.c
r1025 r1027 27 27 #define BUFSIZE 1024 28 28 29 void print_header (int codec ) {29 void print_header (int codec, int rate, int channels) { 30 30 char * mime = "application/octet-stream"; 31 31 … … 40 40 41 41 printf("Content-type: %s\r\n", mime); 42 printf("ice-audio-info: ice-samplerate=%i;ice-channels=%i\r\n", rate, channels); 43 printf("icy-pub:0\r\n"); 42 44 printf("Server: RoarAudio (roarmonhttp $Revision$)\r\n"); 43 45 printf("\r\n"); … … 215 217 } 216 218 217 print_header(codec );219 print_header(codec, rate, channels); 218 220 219 221 /*
Note: See TracChangeset
for help on using the changeset viewer.