From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E4EBEE00810; Tue, 3 Mar 2015 05:09:38 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A68AEE003FA for ; Tue, 3 Mar 2015 05:09:34 -0800 (PST) Received: from [10.1.14.248] (vpn.streamunlimited.com [91.114.0.140]) by ptmx.org (Postfix) with ESMTPSA id 1424033803 for ; Tue, 3 Mar 2015 14:09:29 +0100 (CET) Message-ID: <54F5B28C.2010709@pseudoterminal.org> Date: Tue, 03 Mar 2015 14:09:32 +0100 From: Carlos Rafael Giani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <54F58945.3070609@gmail.com> In-Reply-To: Subject: Re: GstVolume with dizzy is not working when changing to a value inferior to 1 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 13:09:39 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 03/03/2015 01:20 PM, Otavio Salvador wrote: > Hello Stephane, > > On Tue, Mar 3, 2015 at 7:13 AM, scerveau wrote: >> Dear all, >> >> I'm facing an issue with dizzy on imx6q and gstreamer 1.4.1. The volume >> element is not working properly. >> Whith this pipeline: >> >> gst-launch-1.0 audiotestsrc ! volume volume=0.5 ! alsasink >> >> The sound level is equal to 0 instead of half of the standard volume. If i >> put volume=1 this is working properly. >> Affter investigation i understood that it is related to this line >> >> gstvolume.c:251 self->current_volume = volume; in volume_update_volume >> >> If i put any log just after this line, the behaviour is coming back to >> normal. If i compile with -00 its also working fine. >> >> CFLAGS += " -O0" >> >> That's my fix for now ;) >> >> Please advise on how to fix this issue because i dont know if its related to >> the compiler (4.9.1) or to gstreamer. > Added Khem in Cc. Khem how we can gather info to see what's going on? > I saw this before. It is a strange error. I did a hexdump of the input and output samples to see what's going on. Input samples are nonzero, as expected. Output samples however, are all nullbytes. Sample rate, number of channels, sample format are all irrelevant - it occurs with them all. This could be a compiler bug, an error in Orc, or both, especially since -O0 fixes it. Carlos