Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Adrian Stancu <adrian.stancu.82@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: snd-usb-audio syncronisation problem
Date: Fri, 22 Feb 2008 14:57:22 +0100	[thread overview]
Message-ID: <47BED4C2.4020501@ladisch.de> (raw)
In-Reply-To: <43e8c7320802220545m6ccf8c7fr13a9390563d7df7@mail.gmail.com>

Adrian Stancu wrote:
> Using the original module, the momentary frequency is always stalled
> at 48000Hz during playback:
> vader:~# while sleep 0.3; do grep "Momentary freq"
> /proc/asound/card1/stream0; done
>     Momentary freq = 48000 Hz (0x6.0000)
>     Momentary freq = 48000 Hz (0x6.0000)
>     Momentary freq = 48000 Hz (0x6.0000)
>     Momentary freq = 48000 Hz (0x6.0000)
>     Momentary freq = 48000 Hz (0x6.0000)
>
>  note: I started playback after issuing the command.
> So maybe this particular type of interface does not report back
> correctly, thus confusing the driver?

This is possible.  Please try to put printk's into
retire_playback_sync_urb(_hs) to see whether these functions ever get
called, and whether the line "subs->freqm = f;" is reached.

Please show the entire contents of /proc/asound/card1/stream0 while the
device is playing.


Regards,
Clemens

  reply	other threads:[~2008-02-22 13:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22  9:51 snd-usb-audio syncronisation problem Adrian Stancu
2008-02-22 13:09 ` Clemens Ladisch
2008-02-22 13:45   ` Adrian Stancu
2008-02-22 13:57     ` Clemens Ladisch [this message]
2008-02-22 14:19       ` Adrian Stancu
2008-02-22 14:43         ` Clemens Ladisch
2008-02-22 14:51           ` Adrian Stancu
2008-02-22 15:05             ` ASoC AT91 : read dma buffer Alexandre BOUIN
2008-02-22 15:50             ` snd-usb-audio syncronisation problem Clemens Ladisch
2008-02-22 16:15               ` Adrian Stancu
2008-02-22 16:31                 ` Clemens Ladisch
2008-02-22 16:46                   ` Adrian Stancu
2008-02-22 16:49                     ` Adrian Stancu
2008-02-22 17:01                     ` Clemens Ladisch
2008-02-22 17:02                       ` Adrian Stancu
2008-02-25 12:44                         ` Clemens Ladisch
2008-02-25 18:32                           ` Adrian Stancu
2008-02-26  7:32                             ` Clemens Ladisch
2008-02-26  7:53                               ` Adrian Stancu
2008-02-26  8:14                                 ` Clemens Ladisch
2008-02-26  8:38                                   ` Adrian Stancu
2008-02-26  8:49                                     ` Clemens Ladisch
2008-02-26  9:20                                       ` Adrian Stancu
2008-02-26 11:36                                         ` Clemens Ladisch
2008-02-26 12:53                                           ` Adrian Stancu
2008-02-26 14:21                                             ` Clemens Ladisch
2008-02-26 15:08                                               ` Adrian Stancu
2008-02-26 13:45                                 ` Pavel Hofman

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=47BED4C2.4020501@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=adrian.stancu.82@gmail.com \
    --cc=alsa-devel@alsa-project.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