Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Mar 2003 01:39:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Mar 2003 01:39:15 -0500 Received: from jk.sby.abo.fi ([130.232.136.104]:56068 "EHLO gemini.relay") by vger.kernel.org with ESMTP id ; Tue, 25 Mar 2003 01:39:14 -0500 Content-Type: text/plain; charset=US-ASCII From: Jan Knutar To: linux-kernel@vger.kernel.org Subject: Re: Please send a reply to me.... Date: Tue, 25 Mar 2003 08:50:18 +0200 X-Mailer: KMail [version 1.2] References: In-Reply-To: Cc: "Senthil Kumar" MIME-Version: 1.0 Message-Id: <03032508501800.05216@polaris> Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 878 Lines: 19 On Tuesday 25 March 2003 06:34, Senthil Kumar wrote: > i. e. From the mp3 file i extracted the data to be played alone to my > local buffer leaving the Frame information of 32 bits. [ ... ] > Then through ioctl() function i wrote the channel, bitrate and > Format. Then through write function i wrote the data captured in the > local buffer to the dsp device /dev/dsp. [...] > Is any uncompression should be done for data and written. > Is so how the uncompression should be done.. The kernel doesn't do mp3 decoding, and yes, you have to decode mp3 first into PCM. Take a look at mpg123 or xmms for ideas (google is your friend). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/