Changeset 958 for trunk/initramfs-tools-tcos/xmlrpc/sh/rtp-controller.sh
- Timestamp:
- 09/05/08 12:42:59 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/initramfs-tools-tcos/xmlrpc/sh/rtp-controller.sh
r955 r958 53 53 mkfifo /tmp/audiofifo 2>/dev/null 54 54 if [ $STANDALONE = 0 ]; then 55 cat << EOF > /etc/asound.conf 56 pcm.!default { 57 type pulse 58 } 59 ctl.!default { 60 type pulse 61 } 62 EOF 55 63 /sbin/daemonize.sh "rtpdump" "-F payload -o /tmp/audiofifo $2/1234" 56 64 /sbin/daemonize.sh "play" "-t raw -r 44100 -s -2 -c 2 -B /tmp/audiofifo" … … 65 73 killall -SIGKILL play 2>/dev/null 66 74 killall -SIGKILL rtpdump 2>/dev/null 67 rm -f /tmp/audiofifo 75 rm -f /tmp/audiofifo /etc/asound.conf 68 76 if [ $? = 0 ]; then echo "ok"; else echo "error: stopping rtp play"; fi 69 77 else
