Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: william estrada <MrUmunhum@popdial.com>
To: linux-audio-user@lists.linuxaudio.org
Cc: alsa-user@lists.sourceforge.net,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: USB device gives wrong data?
Date: Fri, 19 Oct 2007 14:44:08 -0700	[thread overview]
Message-ID: <47192528.9080403@popdial.com> (raw)

Hi group,

   I think I have found a problem with the USB sound driver?  It appears
that the current drive returns a x'81' for silence but it should be a
x'7f'.

   When I use my laptop's sound device and record without a mic, I get
a file full of x'7f's.  If I do the same with my cheap-o USB device
I get a file full of x'81's.  The sound quality from the laptop is
unacceptable, so that is way I want to use the USB device.

   I have written a recording program that I have a 'silence' filter
that filters out segments of dead air.  It works with the laptop's
sound device but not the USB device.  The filter works by remove
x'7f's after allowing a selectable amount.  I get the results using
arecord which does not have the filtering.

   The USB device is a C -Media Electronics, Inc.  I am running FC6.

> [root@laptop ~]#  lsmod |grep snd
> snd_usb_audio          81985  0 
> snd_usb_lib            21057  1 snd_usb_audio
> snd_rawmidi            28481  1 snd_usb_lib
> snd_hwdep              13637  1 snd_usb_audio
> snd_ali5451            27853  1 
> snd_ac97_codec         99813  1 snd_ali5451
> snd_ac97_bus            6593  1 snd_ac97_codec
> snd_seq_dummy           8133  0 
> snd_seq_oss            37057  0 
> snd_seq_midi_event     11841  1 snd_seq_oss
> snd_seq                57009  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> snd_seq_device         12365  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
> snd_pcm_oss            46433  0 
> snd_mixer_oss          20545  1 snd_pcm_oss
> snd_pcm                80965  4 snd_usb_audio,snd_ali5451,snd_ac97_codec,snd_pcm_oss
> snd_timer              26693  2 snd_seq,snd_pcm
> snd                    58181  140 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_ali5451,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore              12193  1 snd
> snd_page_alloc         14281  1 snd_pcm

   Where do I report this 'bug' or how do I fix it?

   Thanks for your time.  Sorry for the multiple posting, not sure where is
should have gone.

-- 
William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

             reply	other threads:[~2007-10-19 21:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 21:44 william estrada [this message]
2007-10-22  6:34 ` USB device gives wrong data? Clemens Ladisch
2007-10-22 16:58   ` william estrada
     [not found]     ` <471CD6BE.4090209-rB/de7zFuWlBDgjK7y7TUQ@public.gmane.org>
2007-10-22 23:05       ` [LAU] [alsa-devel] " James Cameron

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=47192528.9080403@popdial.com \
    --to=mrumunhum@popdial.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-user@lists.sourceforge.net \
    --cc=linux-audio-user@lists.linuxaudio.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