From: Hans de Goede <hdegoede@redhat.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: Some fixes for alsa_stream
Date: Thu, 16 Jun 2011 17:11:01 +0200 [thread overview]
Message-ID: <4DFA1D05.6020004@redhat.com> (raw)
In-Reply-To: <4DFA1561.1030905@redhat.com>
Hi,
On 06/16/2011 04:38 PM, Mauro Carvalho Chehab wrote:
> Em 16-06-2011 09:29, Hans de Goede escreveu:
<snip>
>> Note that I've just pushed a patch set which includes rewritten period
>> / buf size negotiation and a bunch of cleanups in general. This removes
>> over 150 lines of code, while at the same time making the code more
>> flexible.
>
> You removed mmap support, but you didn't removed the alsa-mmap option at xawtv.
>
Ah, fixed.
>> It should now work with pretty much any combination of
>> input / output device (tested with a bt878 input and intel hda,
>> usb-audio or pulseaudio output).
>
> I'll run some tests later with the boards I have here.
>
Thanks.
>> I've also changed the default -alsa-pb value to "default" as we should
>> not be picking something else then the user / distro configured defaults
>> for output IMHO. The user can set a generic default in alsarc, and override
>> that on the cmdline if he/she wants, but unless overridden on the cmdline
>> we should respect the users generic default as specified in his
>> alsarc.
>
> While pulseaudio refuses to work via ssh, this is actually a very bad idea.
> Xawtv is used by developers to test their stuff, and they generally do it
> on a remote machine, with the console captured via tty port, in order to
> be able to catch panic messages.
>
I'm sure developers are quite capable of creating either an .alsarc, pass
the cmdline option, or change pulseaudio's config to accept non local console
connections.
We should try to have sane user oriented defaults, not developer oriented
defaults.
Also not all developers work the same way you do, so having a certain default
just so it matches your work flow also is a bad idea IMHO.
> For now, please revert this patch. After having pulseaudio fixed to properly
> handle the audio group, I'm ok to re-add it.
>
>> We could consider making the desired latency configurable, currently
>> I've hardcoded it to 30 ms (was 38 with the old code on my system) note
>> that I've chosen to specify the latency in ms rather then in a number
>> of samples, since it should be samplerate independent IMO.
>
> Yeah, having latency configurable sounds a good idea to me.
Done.
Regards,
Hans
next prev parent reply other threads:[~2011-06-16 15:10 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 2:01 Some fixes for alsa_stream Mauro Carvalho Chehab
2011-06-14 12:48 ` Hans de Goede
2011-06-14 13:05 ` Mauro Carvalho Chehab
2011-06-14 13:39 ` Mauro Carvalho Chehab
2011-06-14 13:47 ` Hans de Goede
2011-06-14 13:52 ` Devin Heitmueller
2011-06-14 14:17 ` Mauro Carvalho Chehab
2011-06-14 14:37 ` Hans de Goede
2011-06-14 14:45 ` Mauro Carvalho Chehab
2011-06-14 14:48 ` Devin Heitmueller
2011-06-14 15:51 ` Mauro Carvalho Chehab
2011-06-15 13:43 ` Hans de Goede
2011-06-15 14:25 ` Mauro Carvalho Chehab
2011-06-15 14:35 ` Hans de Goede
2011-06-15 14:51 ` Mauro Carvalho Chehab
2011-06-15 15:45 ` Mauro Carvalho Chehab
2011-06-16 12:29 ` Hans de Goede
2011-06-16 14:38 ` Mauro Carvalho Chehab
2011-06-16 15:11 ` Hans de Goede [this message]
2011-06-16 15:35 ` Mauro Carvalho Chehab
2011-06-16 18:19 ` Hans de Goede
2011-06-16 18:28 ` Mauro Carvalho Chehab
2011-06-15 14:36 ` 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=4DFA1D05.6020004@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox