public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Barada <peterb@logicpd.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Troubles with twl4030 audio...
Date: Fri, 08 Aug 2008 17:12:04 -0400	[thread overview]
Message-ID: <1218229924.24975.35.camel@blackhole> (raw)

I'm trying to get ALSA audio going on an OMAP3430-based board, and I've
configured using CONFIG_SND_OMAP_3430SDP_COMP=m which builds
sound/arm/omap/omap2-audio-twl4030.ko module that I load/unload as part
of my debug cycle.

When I play a sound though, the results are *really* distorted with lots
of pulse noise showing up in both channels. Using audacity I created an
empty file (i.e. silence), and the output contains pulse noise in both
channels, Much mnore on the left than right channel.

To look deeper, I created a sawtooth waveform and used that instead of
the tone[] array in omap2-audio-twl4030.c, and the result looks good on
the left channel, but the right is essentially silent, but contains
pulse noise whos amplitude looks to be porportional with the sawtooth,
but only in the 2nd half of the sawtooth (when the data is > 0x8000).
Also, there's a lot of initial DC bias in the output.

Anyone see anything like this, or have suggestions?


                 reply	other threads:[~2008-08-08 21:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1218229924.24975.35.camel@blackhole \
    --to=peterb@logicpd.com \
    --cc=linux-omap@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox