fprintf(stderr, "------------------------------------------------------------------\n");
fprintf(stderr, "Usage: oss-stream" \
" [-h | --help ]........: display this help\n" \
- " [-d | --device ]......: video device to open (your camera)\n" \
+ " [-d | --device ]......: audio device to open (your camera)\n" \
" [-p | --port ]........: TCP-port for the server\n" \
" [-v | --version ].....: display version information\n" \
" [-b | --background]...: fork to the background, daemon mode\n");
/* allocate audio datastructure */
- /* open video device and prepare data structure */
+ /* open audio device and prepare data structure */
if (strcmp(dev,"stdin")==0) {
source_dev = stdin;
} else {