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 18:01:48 +0100 [thread overview]
Message-ID: <47BEFFFC.8030301@ladisch.de> (raw)
In-Reply-To: <43e8c7320802220846g7d7c8b61jb29e8ca3028d2c24@mail.gmail.com>
Adrian Stancu wrote:
> Yes!!! the feedback works correctly this way => perfect playback!
>
> what I had to do was:
> [...]
> f = combine_quad((u8*)urb->transfer_buffer) & 0x0fffffff;
> f /= 8;
> if (f >= subs->freqn - subs->freqn / 8 && f <= subs->freqmax) {
> spin_lock_irqsave(&subs->lock, flags);
> subs->freqm = f;
> [...]
>
> otherwise, the 'if' condition would still not be satisfied.
Oops. Of course.
> Now, is there a way to incorporate this change into the driver without
> affecting functionality for other usb audio devices?
I'll write a quirk.
Regards,
Clemens
next prev parent reply other threads:[~2008-02-22 17:00 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
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 [this message]
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=47BEFFFC.8030301@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