[alsa-devel] [PATCH] Fix DSD formats userland usability

Takashi Iwai tiwai at suse.de
Mon Aug 11 10:06:48 CEST 2014


At Sun, 10 Aug 2014 15:38:42 +0200,
Jurgen Kramer wrote:
> 
> On Sun, 2014-08-10 at 13:44 +0200, Takashi Iwai wrote:
> > At Sat,  9 Aug 2014 12:09:21 +0200,
> > Jurgen Kramer wrote:
> > > 
> > > Support for DSD sample formats has been added a while ago. This patch makes
> > > those sample formats beter usable from userland (e.g. aplay).
> > > 
> > > ---
> > >  include/sound/asound.h | 4 +++-
> > >  src/pcm/pcm_misc.c     | 4 ++++
> > 
> > The new definitions are still missing in include/pcm.h?
> > include/sound/asound.h is a copy from the kernel, and the user-land
> > API is defined rather in include/pcm.h.
> > 
> OK, the updates to alsa-lib pcm_misc.c are still valid but do not
> compile without my proposed update to include/sound/asound.h

Yes, we need to change both include/pcm.h and include/sound/asound.h.
In your patch, the necessary change in include/pcm.h is missing, and
that's what I suggested.


Takashi


More information about the Alsa-devel mailing list