--- /dev/null
+#!/bin/bash
+export STAGING_DIR=/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/
+/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc \
+ -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc \
+ -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float \
+ -mips16 -minterlink-mips16 \
+ -I/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include \
+ -I/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include \
+ -I/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include \
+ -I/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include \
+ -L/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib \
+ -L/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib \
+ -L/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib \
+ -L/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib \
+ -I/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include \
+ -I/home/rvb/git/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include \
+ -I/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include \
+ -I/home/rvb/git/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include \
+ -D'SVN_REV="Unversioned directory"' -O2 -DLINUX -D_GNU_SOURCE -Wall \
+ oss-streamer.c -lpthread -ldl -o oss-streamer
+
+
\ No newline at end of file
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 {