From owner-freebsd-ports@FreeBSD.ORG Tue Mar 1 21:00:41 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2475106566B for ; Tue, 1 Mar 2011 21:00:41 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7319A8FC0C for ; Tue, 1 Mar 2011 21:00:40 +0000 (UTC) Received: by bwz12 with SMTP id 12so5529328bwz.13 for ; Tue, 01 Mar 2011 13:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=gL0sL6j8WJf4mRf/ofN7KD430f6nfrheafXyI5oAzIU=; b=DctnzBylAoZosnZpXHFtlQJ78qfMx/jiMdaSBpvmWbQUQMU8kzlghSwlJEUFyVg21g TKcpekdp6GcNpvvs73yJ4wGdAO6HrFZCIJbEu5G8tp5ad/yx8QYWSGU9SZggOtscli7u 2k30TDnqjMwVQmc3PqyY/mJdHA4yr7kLorxQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=UObNMqqhkHYWVxQRqFMwto6rfkkj3YLEjdkxAqCBorXutatVOFyWfG2cJw2olzGQZM U6hciDwoI1Heth8eF0ududi1axFaMmGLLmBfPxVGs+LpseW3Yo2tJnKLAO3gxyIM0xOI WGna2IbQLhTKCezrUxj07QPJGaq+1ZBWF9L64= Received: by 10.204.70.137 with SMTP id d9mr6354925bkj.141.1299013240239; Tue, 01 Mar 2011 13:00:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.157.21 with HTTP; Tue, 1 Mar 2011 13:00:10 -0800 (PST) From: Chris Rees Date: Tue, 1 Mar 2011 21:00:10 +0000 Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Musicpd-1.16_1 white noise with MP3 playback [SOLVED] -- thanks for feedback! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 21:00:42 -0000 On 27 February 2011 15:17, Chris Rees wrote: > Hi all, > > I've been deluged with complaints about the dreaded white noise with > musicpd, and now I've finally reproduced it I've got a workaround: > > audio_output { > =A0 =A0 =A0 =A0type =A0 =A0 =A0 =A0 =A0 =A0"oss" > =A0 =A0 =A0 =A0name =A0 =A0 =A0 =A0 =A0 =A0"My OSS Device" > =A0 =A0 =A0 =A0device =A0 =A0 =A0 =A0 =A0"/dev/dsp1" =A0 =A0 # CHANGE THI= S FOR YOUR DSP! > =A0 =A0 =A0 =A0format =A0 =A0 =A0 =A0 =A0"44100:16:2" =A0 =A0# optional > =A0 =A0 =A0 =A0mixer_type =A0 =A0 =A0"hardware" =A0 =A0 =A0# optional > =A0 =A0 =A0 =A0mixer_device =A0 =A0"/dev/mixer1" =A0 # CHANGE THIS FOR YO= UR MIXER! > =A0 =A0 =A0 =A0mixer_control =A0 "PCM" =A0 =A0 =A0 =A0 =A0 # optional > } > > I'm pretty sure it is (as Max Kellerman suggested) due to 24-bit > support in musicpd; our base OSS doesn't play well with it. > > I'm sorry about the delay; I've got a Xonar D2X in this computer so I > have to use ports OSS, which doesn't share this problem. > > Please let me know if you still have this problem! > > A 'proper' fix is in the works. Right, the port has a nice new patch [1], which means you don't need anything special in ${MPDCONF} any more. 0.16.1_2 will disable 24-bit audio support on non-Linux systems. I've heard from some that you may have trouble on this version with autodetected sound drivers; best to explicitly uncomment the oss section of mpd.conf. Any more complaints, pass them to me! Chris [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/155168