[PATCH 2/2] Add ALSA sound

R.M. Thomas rmthomas at sciolus.org
Mon Jan 10 21:53:51 UTC 2011


Greg KH wrote:
> For such a large patch, it needs a better Subject: and description.
> 
> What exactly are you doing here?  I'm guessing that it converts the
> easycap code to use the alsa interfaces instead of oss, right?  If so,
> please provide a good changelog entry that I can use.

Subject: Add ALSA sound as a replacement for OSS

Code has been added which provides the option of outputting sound
via the ALSA interface.  This option is exercised by defining the
flag EASYCAP_NEEDS_ALSA during compilation.  If this flag is
undefined the driver is built with its original OSS interface.
The audio routines which interface to ALSA are incorporated in
the same module as the video driver.

In limited practical tests the driver seems marginally more stable
with OSS audio (presumably because some improvement is needed in
the way the ALSA interface is used in the driver), but there is no
noticeable difference in latency and the overall performance with
ALSA audio is satisfactory.

Provision of ALSA capability in the driver has become necessary
because some Linux distributions are choosing to disable both
native and emulated OSS.

Mike



More information about the devel mailing list