<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core/pcm_misc.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-11-29T08:26:33Z</updated>
<entry>
<title>ALSA: pcm: add SNDRV_PCM_FORMAT_{S,U}20</title>
<updated>2017-11-29T08:26:33Z</updated>
<author>
<name>Maciej S. Szmigiero</name>
</author>
<published>2017-11-27T22:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=823dbb6eb08a2865bcd236b4f52b1b9de216418a'/>
<id>urn:sha1:823dbb6eb08a2865bcd236b4f52b1b9de216418a</id>
<content type='text'>
This format is similar to existing SNDRV_PCM_FORMAT_{S,U}20_3 that keep
20-bit PCM samples in 3 bytes, however i.MX6 platform SSI FIFO does not
allow 3-byte accesses (including DMA) so a 4-byte (more conventional)
format is needed for it.

Signed-off-by: Maciej S. Szmigiero &lt;mail@maciej.szmigiero.name&gt;
Reviewed-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Follow standard EXPORT_SYMBOL() declarations</title>
<updated>2017-06-16T14:18:58Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2017-06-16T14:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=602d7d72c8255f80898e94562f777635efd1ddaf'/>
<id>urn:sha1:602d7d72c8255f80898e94562f777635efd1ddaf</id>
<content type='text'>
Just a tidy up to follow the standard EXPORT_SYMBOL*() declarations
in order to improve grep-ability.

- Remove superfluous blank line before EXPORT_SYMBOL*() lines

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: add local header file for snd-pcm module</title>
<updated>2017-05-26T06:38:14Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2017-05-26T00:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090'/>
<id>urn:sha1:2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090</id>
<content type='text'>
Several files are used to construct PCM core module, a.k.a snd-pcm.
Although available APIs are described in 'include/sound/pcm.h', some of
them are not exported as symbols in kernel space. Such APIs are just for
module local usage.

This commit adds module local header file and move some function prototypes
into it so that scopes of them are controlled properly and developers
get no confusion from unavailable symbols.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Add snd_pcm_rate_range_to_bits()</title>
<updated>2016-02-05T18:49:00Z</updated>
<author>
<name>Mengdong Lin</name>
</author>
<published>2016-01-15T08:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bdff244a2bcbde37ec33bf3cdde4638049c6c38'/>
<id>urn:sha1:3bdff244a2bcbde37ec33bf3cdde4638049c6c38</id>
<content type='text'>
This helper function can convert a given sample rate range to
SNDRV_PCM_RATE_xxx bits.

Signed-off-by: Mengdong Lin &lt;mengdong.lin@linux.intel.com&gt;
Acked-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Acked-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format</title>
<updated>2014-11-21T14:13:28Z</updated>
<author>
<name>Jussi Laako</name>
</author>
<published>2014-11-21T14:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d42472ecffd7c42086c6e5b1335c99a3adf58a09'/>
<id>urn:sha1:d42472ecffd7c42086c6e5b1335c99a3adf58a09</id>
<content type='text'>
This patch fixes XMOS DSD sample format to DSD_U32_BE and also adds
DSD_U16_BE and DSD_U32_BE sample formats.

Signed-off-by: Jussi Laako &lt;jussi@sonarnerd.net&gt;
Acked-by: Jurgen Kramer &lt;gtmkramer@xs4all.nl&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' into for-next</title>
<updated>2014-09-11T11:43:49Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-09-11T11:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=998052b74574699bdd1e451b6556e4d7667a7a4e'/>
<id>urn:sha1:998052b74574699bdd1e451b6556e4d7667a7a4e</id>
<content type='text'>
Merging for-linus branch for syncing the latest STAC/IDT codec
changes to be affected by the upcoming hda-jack rewrites.
</content>
</entry>
<entry>
<title>ALSA: pcm: add new DSD sampleformat for native DSD playback on XMOS based devices</title>
<updated>2014-09-08T15:11:00Z</updated>
<author>
<name>Jurgen Kramer</name>
</author>
<published>2014-09-05T08:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4288d3fac18bbc31cb6d369679b1fa1d9321ae9'/>
<id>urn:sha1:d4288d3fac18bbc31cb6d369679b1fa1d9321ae9</id>
<content type='text'>
XMOS based USB DACs with native DSD support expose this feature via a USB
alternate setting. The audio format is either 32-bit raw or a 32-bit PCM format.
To utilize this feature on linux this patch introduces a new 32-bit DSD
sampleformat DSD_U32_LE.
A follow up patch will add a quirk for XMOS based devices to utilize the new format.
Further patches will add support to alsa-lib.

Signed-off-by: Jurgen Kramer &lt;gtmkramer@xs4all.nl&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Fix the silence data for DSD formats</title>
<updated>2014-08-22T09:24:58Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-08-22T09:18:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94a988a8ab91c0cdabd2431281ec09dc52d92674'/>
<id>urn:sha1:94a988a8ab91c0cdabd2431281ec09dc52d92674</id>
<content type='text'>
Right now we set 0 as the silence data for DSD_U8 and DSD_U16 formats,
but this is actually wrong.  0 is rather the most negative value.
Alternatively, we may take the repeating 0x69 pattern like ffmpeg
deploys.

Reference: https://ffmpeg.org/pipermail/ffmpeg-cvslog/2014-April/076427.html
Suggested-by: Alexander E. Patrakov &lt;patrakov@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Add helper function for intersecting two rate masks</title>
<updated>2014-01-14T20:42:34Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2014-01-11T09:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3a9269f874067fcefc5eb8037466161fb0fe3f4'/>
<id>urn:sha1:e3a9269f874067fcefc5eb8037466161fb0fe3f4</id>
<content type='text'>
A bit of special care is necessary when creating the intersection of two rate
masks. This comes from the special meaning of the SNDRV_PCM_RATE_CONTINUOUS and
SNDRV_PCM_RATE_KNOT bits, which needs special handling when intersecting two
rate masks. SNDRV_PCM_RATE_CONTINUOUS means the hardware supports all rates in a
specific interval. SNDRV_PCM_RATE_KNOT means the hardware supports a set of
discrete rates specified by a list constraint. For all other cases the supported
rates are specified directly in the rate mask.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Reviewed-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>ALSA: add DSD formats</title>
<updated>2013-04-18T08:02:33Z</updated>
<author>
<name>Daniel Mack</name>
</author>
<published>2013-04-16T16:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef7a4f979bd8201324b2bcd30277c14aba889f50'/>
<id>urn:sha1:ef7a4f979bd8201324b2bcd30277c14aba889f50</id>
<content type='text'>
This patch adds two formats for Direct Stream Digital (DSD), a
pulse-density encoding format which is described here:
https://en.wikipedia.org/wiki/Direct_Stream_Digital

DSD operates on 2.8, 5.6 or 11.2MHz sample rates and as a 1-bit
stream.

The two new types added by this patch describe streams that are capable
of handling DSD samples in DOP format as 8-bit or in 16-bit (or at a x8
or x16 data rate, respectively).

DSD itself specifies samples in *bit*, while DOP and ALSA handle them
as *bytes*. Hence, a factor of 8 or 16 has to be applied for the sample
rare configuration, according to the following table:

                                                  configured hardware
        176.4KHz   352.8kHz   705.6KHz     &lt;----       sample rate

8-bit                2.8MHz     5.6MHz
16-bit    2.8Mhz     5.6MHz    11.2MHz

         `-----------------------------'
             actual DSD sample rates

Signed-off-by: Daniel Mack &lt;zonque@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
