From owner-freebsd-questions@FreeBSD.ORG Wed May 24 22:17:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D403416A454 for ; Wed, 24 May 2006 22:17:13 +0000 (UTC) (envelope-from infotek@datasync.com) Received: from shell.datasync.com (shell.datasync.com [209.16.64.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50DB143D49 for ; Wed, 24 May 2006 22:17:13 +0000 (GMT) (envelope-from infotek@datasync.com) Received: from shell.datasync.com (localhost [127.0.0.1]) by shell.datasync.com (8.13.6/8.12.10) with ESMTP id k4OMHHhn028163 for ; Wed, 24 May 2006 17:17:17 -0500 Received: from localhost (infotek@localhost) by shell.datasync.com (8.13.6/8.12.10/Submit) with ESMTP id k4OMHGLa028160 for ; Wed, 24 May 2006 17:17:16 -0500 X-Authentication-Warning: shell.datasync.com: infotek owned process doing -bs Date: Wed, 24 May 2006 17:17:16 -0500 (CDT) From: "Jason L. Ellison" To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Darkice FreeBSD named pipe (fwd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 22:17:17 -0000 I'm cross posting this incase anyone knows the answer. ---------- Forwarded message ---------- Hello List, I was using darkice to write a [file] to a named pipe. This functioned on linux but on FreeBSD 6.1 darkice fails to use the fifo as a file. Is this a darkice issue? Or have I done something wrong in FreeBSD land? -Jason Ellison alpha# /usr/local/bin/darkice -c /usr/local/etc/darkice.cfg DarkIce 0.17 live audio streamer, http://darkice.sourceforge.net Copyright (c) 2000-2006, Tyrell Hungary, http://tyrell.hu Using config file: /usr/local/etc/darkice.cfg Using OSS DSP input device: /dev/dsp2 Using POSIX real-time scheduling, priority 30 DarkIce: DarkIce.cpp:1100: can't open connector [0] # cat /usr/local/etc/darkice.cfg [general] duration = 0 # duration of encoding, in seconds. 0 means forever bufferSecs = 5 # size of internal slip buffer, in seconds reconnect = yes # reconnect to the server(s) if disconnected [input] device = /dev/dsp2 # OSS DSP soundcard device for the audio input sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100 bitsPerSample = 16 # bits per sample. try 16 channel = 2 # channels. 1 = mono, 2 = stereo [file-0] bitrateMode = cbr format = mp2 bitrate = 160 <-- quality = 0.8 --> fileName = /tmp/stream.fifo samplerate = 44100 highpass = -1 lowpass = -1 # ls -l /tmp/stream.fifo prw-rw-rw- 1 root wheel 0 May 24 16:03 /tmp/stream.fifo