From: Hans de Goede <hdegoede@redhat.com>
To: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>, linux-media@vger.kernel.org
Subject: Re: [PATCH 01/10] alsa_stream: port changes made on xawtv3
Date: Wed, 07 Sep 2011 08:29:37 +0200 [thread overview]
Message-ID: <4E670F51.8050100@redhat.com> (raw)
In-Reply-To: <CAGoCfiw7vjprc_skYYAXy9sTA7zkYEWtzXy9tEmJD+q8aazPog@mail.gmail.com>
Hi,
Lots of good stuff in this thread! It seems Mauro has answered most
things, so I'm just going to respond to this bit.
On 09/07/2011 05:37 AM, Devin Heitmueller wrote:
<Snip>
>> We've added a parameter for that on xawtv3 (--alsa-latency). We've parametrized
>> it at the alsa stream function call. So, all it needs is to add a new parameter
>> at tvtime config file.
>
> Ugh. We really need some sort of heuristic to do this. It's
> unreasonable to expect users to know about some magic parameter buried
> in a config file which causes it to start working. Perhaps a counter
> that increments whenever an underrun is hit, and after a certain
> number it automatically restarts the stream with a higher latency. Or
> perhaps we're just making some poor choice in terms of the
> buffers/periods for a given rate.
This may have something to do with usb versus pci capture, on my bttv card
30 ms works fine, but I can imagine it being a bit on the low side when
doing video + audio capture over USB. So maybe should default to say
50 for usb capture devices and 30 for pci capture devices?
In the end if people load there system enough / have a slow enough
system our default will always be wrong for them. All we can do is try to
get a default which is sane for most setups ...
Regards,
Hans
next prev parent reply other threads:[~2011-09-07 6:27 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 15:29 [PATCH 01/10] alsa_stream: port changes made on xawtv3 Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 02/10] Fix make dist target Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 03/10] Backport mixer-alsa patch from Fedora Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 04/10] Properly document alsa mixer Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 05/10] Ignore auto-generated files Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 06/10] Backport UVC fix from Fedora Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 07/10] Add mkinstalldirs Mauro Carvalho Chehab
2011-09-06 15:29 ` [PATCH 08/10] Use a saner way to disable screensaver Mauro Carvalho Chehab
[not found] ` <1315322996-10576-9-git-send-email-mchehab@redhat.com>
2011-09-06 15:29 ` [PATCH 10/10] tvtime: Bump to version 1.0.3 Mauro Carvalho Chehab
2011-09-06 15:40 ` [PATCH 01/10] alsa_stream: port changes made on xawtv3 Mauro Carvalho Chehab
2011-09-06 16:24 ` Devin Heitmueller
2011-09-06 18:19 ` Hans de Goede
2011-09-06 18:35 ` Michael Krufky
2011-09-06 18:43 ` Hans de Goede
2011-09-06 19:11 ` Michael Krufky
2011-09-06 18:41 ` Devin Heitmueller
2011-09-06 19:12 ` Mauro Carvalho Chehab
2011-09-06 21:18 ` Devin Heitmueller
2011-09-06 21:50 ` Mauro Carvalho Chehab
2011-09-06 18:40 ` Mauro Carvalho Chehab
2011-09-07 2:58 ` Devin Heitmueller
2011-09-07 3:20 ` Devin Heitmueller
2011-09-07 3:29 ` Mauro Carvalho Chehab
2011-09-07 3:37 ` Devin Heitmueller
2011-09-07 3:42 ` Devin Heitmueller
2011-09-07 4:06 ` Devin Heitmueller
2011-10-07 1:59 ` tvtime at linuxtv.org Mauro Carvalho Chehab
2011-10-07 13:38 ` Devin Heitmueller
2011-10-07 15:18 ` Mauro Carvalho Chehab
2011-09-07 6:29 ` Hans de Goede [this message]
2011-09-07 12:49 ` [PATCH 01/10] alsa_stream: port changes made on xawtv3 Mauro Carvalho Chehab
2011-09-07 3:23 ` Mauro Carvalho Chehab
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=4E670F51.8050100@redhat.com \
--to=hdegoede@redhat.com \
--cc=dheitmueller@kernellabs.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/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.