From: scerveau <scerveau@gmail.com>
To: meta-freescale@yoctoproject.org,
carlos Rafael Giani <dv@pseudoterminal.org>
Subject: Re: GstVolume with dizzy is not working when changing to a value inferior to 1
Date: Tue, 03 Mar 2015 14:13:26 +0100 [thread overview]
Message-ID: <54F5B376.6030203@gmail.com> (raw)
In-Reply-To: <54F5B28C.2010709@pseudoterminal.org>
Yeah !
In -O1 i dont have the same bug, even if i put the log i dont have any
sound on output...
Only -O0 works for me. So i'm wondering if I should put -O0 for all of
the gstreamer recipes...
On 03/03/2015 02:09 PM, Carlos Rafael Giani wrote:
> On 03/03/2015 01:20 PM, Otavio Salvador wrote:
>> Hello Stephane,
>>
>> On Tue, Mar 3, 2015 at 7:13 AM, scerveau <scerveau@gmail.com> 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
next prev parent reply other threads:[~2015-03-03 13:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 10:13 GstVolume with dizzy is not working when changing to a value inferior to 1 scerveau
2015-03-03 10:42 ` scerveau
2015-03-03 12:20 ` Otavio Salvador
2015-03-03 13:09 ` Carlos Rafael Giani
2015-03-03 13:13 ` scerveau [this message]
2015-03-05 9:54 ` scerveau
2015-03-05 10:53 ` Carlos Rafael Giani
2015-03-05 11:14 ` scerveau
2015-03-05 13:34 ` scerveau
2015-03-05 13:39 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F5B376.6030203@gmail.com \
--to=scerveau@gmail.com \
--cc=dv@pseudoterminal.org \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.