From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 4 17:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 29B48440 for ; Mon, 4 Feb 2013 17:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA2DA63 for ; Mon, 4 Feb 2013 17:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r14H019S099083 for ; Mon, 4 Feb 2013 17:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r14H01BP099082; Mon, 4 Feb 2013 17:00:01 GMT (envelope-from gnats) Resent-Date: Mon, 4 Feb 2013 17:00:01 GMT Resent-Message-Id: <201302041700.r14H01BP099082@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lawrence Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 51AD2D7D for ; Mon, 4 Feb 2013 16:52:09 +0000 (UTC) (envelope-from lchen@zen.lhaven.homeip.net) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 26DC794E for ; Mon, 4 Feb 2013 16:52:08 +0000 (UTC) Received: from ip70-179-135-19.fv.ks.cox.net ([70.179.135.19] helo=zen.lhaven.homeip.net) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U2PH0-000LLD-9h for FreeBSD-gnats-submit@freebsd.org; Mon, 04 Feb 2013 16:52:02 +0000 Received: from zen.lhaven.homeip.net (localhost [127.0.0.1]) by zen.lhaven.homeip.net (8.14.6/8.14.5) with ESMTP id r14GptCV094709; Mon, 4 Feb 2013 10:51:55 -0600 (CST) (envelope-from lchen@zen.lhaven.homeip.net) Received: (from lchen@localhost) by zen.lhaven.homeip.net (8.14.6/8.14.5/Submit) id r14GptgO094708; Mon, 4 Feb 2013 10:51:55 -0600 (CST) (envelope-from lchen) Message-Id: <201302041651.r14GptgO094708@zen.lhaven.homeip.net> Date: Mon, 4 Feb 2013 10:51:55 -0600 (CST) From: Lawrence Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175835: www/chromium no audio playing from Google Voice Cc: beastie_t@lhaven.homeip.net X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Lawrence Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 17:00:02 -0000 >Number: 175835 >Category: ports >Synopsis: www/chromium no audio playing from Google Voice >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 04 17:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Lawrence Chen >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD zen.lhaven.homeip.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I haven't been able to hear my messages on Google Voice since PULSEAUDIO had stopped building. However, after what I believe is the correct fix to get PULSEAUDIO to build. I still am not getting audio. Was working up to 23.x >How-To-Repeat: Go to google voice, and play any voicemail. Expect to hear voicemail. >Fix: Attached is my patch to get PULSEAUDIO to build. But, it didn't resolve my Google Voice problem. --- patch-media__audio__pulse__pulse_output.cc begins here --- --- media/audio/pulse/pulse_output.cc.orig 2013-01-25 20:01:32.000000000 -0600 +++ media/audio/pulse/pulse_output.cc 2013-02-03 22:11:50.838136325 -0600 @@ -8,7 +8,7 @@ #include "base/message_loop.h" #include "media/audio/audio_parameters.h" #include "media/audio/audio_util.h" -#if defined(OS_LINUX) +#if defined(OS_LINUX) || defined(OS_FREEBSD) #include "media/audio/linux/audio_manager_linux.h" #elif defined(OS_OPENBSD) #include "media/audio/openbsd/audio_manager_openbsd.h" @@ -86,7 +86,7 @@ // All channel maps have the same size array of channel positions. for (unsigned int channel = 0; channel != CHANNELS_MAX; ++channel) { - int channel_position = kChannelOrderings[channel_layout][channel]; + int channel_position = ChannelOrder(channel_layout,static_cast(channel)); if (channel_position > -1) { channel_map.map[channel_position] = ChromiumToPAChannelPosition( static_cast(channel)); @@ -376,7 +376,7 @@ int chunk_size; // Stop writing if there is no more data available. - if (!client_buffer_->GetCurrentChunk(&chunk, &chunk_size)) + if (!client_buffer_->GetCurrentChunk(&chunk, (int*) &chunk_size)) break; // Write data to stream. --- patch-media__audio__pulse__pulse_output.cc ends here --- >Release-Note: >Audit-Trail: >Unformatted: