From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 05:12:06 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 B0EF516A403 for ; Tue, 3 Oct 2006 05:12:06 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1CA843D53 for ; Tue, 3 Oct 2006 05:12:04 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 17701 invoked from network); 3 Oct 2006 15:12:03 +1000 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Oct 2006 15:12:03 +1000 Date: Tue, 3 Oct 2006 15:12:01 +1000 From: Norberto Meijome To: Olivier Nicole Message-ID: <20061003151201.5c85cc2e@localhost> In-Reply-To: <200610020928.k929S0Hb031142@banyan.cs.ait.ac.th> References: <200610020928.k929S0Hb031142@banyan.cs.ait.ac.th> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Playing audio 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: Tue, 03 Oct 2006 05:12:06 -0000 On Mon, 2 Oct 2006 16:28:00 +0700 (ICT) Olivier Nicole wrote: > In a C program, how can I play a sound file, what format should I use > for that sound file? not entirely sure, but man pcm ( == man 4 sound ) seems to have several pointers, including a link to the OSS API. good luck _________________________ {Beto|Norberto|Numard} Meijome Never attribute to malice what can adequately be explained by incompetence. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.