<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core/pcm_lib.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-13T12:48:46Z</updated>
<entry>
<title>ALSA: Fix leftover chmap UNKNOWN -&gt; MONO conversions</title>
<updated>2012-09-13T12:48:46Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-09-13T12:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5efbc2610a7b2aac6c51f8fc943c019106568939'/>
<id>urn:sha1:5efbc2610a7b2aac6c51f8fc943c019106568939</id>
<content type='text'>
A few files have been slipped from the previous commit to add MONO
channel type.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm - Use UNKNOWN chmap for mono streams</title>
<updated>2012-09-11T12:24:43Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-09-11T12:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2dc6fbf0078e8148b571f1bbec704ca5c8e2ec2c'/>
<id>urn:sha1:2dc6fbf0078e8148b571f1bbec704ca5c8e2ec2c</id>
<content type='text'>
In general, mono streams have no dedicated speaker assignment, thus
they should be rather marked as UNKNOWN position.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Remove VOLATILE flag from chmap ctls</title>
<updated>2012-09-06T16:08:33Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-08-21T12:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e67683d718c627aa585a82ae0eb44a7058eae5a'/>
<id>urn:sha1:6e67683d718c627aa585a82ae0eb44a7058eae5a</id>
<content type='text'>
The VOLATILE flag was added to control elements by
snd_pcm_add_chmap_ctls() just because I didn't want to have a
side-effect of "alsactl restore".  But now the set operation doesn't
allow to change the value unless the PCM stream is in PREAPRED state,
there is no reason to keep this flag.  Let's rip it off.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: PCM: channel mapping API implementation</title>
<updated>2012-09-06T16:01:16Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-07-27T16:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d3391ec0ecca37efb6bc995906292f47522b471'/>
<id>urn:sha1:2d3391ec0ecca37efb6bc995906292f47522b471</id>
<content type='text'>
This patch implements the basic data types for the standard channel
mapping API handling.

- The definitions of the channel positions and the new TLV types are
  added in sound/asound.h and sound/tlv.h, so that they can be
  referred from user-space.

- Introduced a new helper function snd_pcm_add_chmap_ctls() to create
  control elements representing the channel maps for each PCM
  (sub)stream.

- Some standard pre-defined channel maps are provided for
  convenience.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Make constraints lists const</title>
<updated>2012-07-05T12:19:39Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-07-05T11:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1464189f8c2a5341722437ef916786afaf241c44'/>
<id>urn:sha1:1464189f8c2a5341722437ef916786afaf241c44</id>
<content type='text'>
They aren't modified by the core so the drivers can declare them const.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: core: group read of pointer, tstamp and jiffies</title>
<updated>2012-05-22T23:50:29Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2012-05-22T19:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3509a03f4dcf7fedb8880180fed3f7f791ce5598'/>
<id>urn:sha1:3509a03f4dcf7fedb8880180fed3f7f791ce5598</id>
<content type='text'>
Group read of hw_ptr, tstamp and jiffies in a sequence
for better correlation. Previous code took timestamp at the
end, which could introduce delays between audio time and
system time.

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm - Optimize the call of snd_pcm_update_hw_ptr() in read/write loop</title>
<updated>2012-05-11T17:05:12Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2012-05-11T15:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0910c216f78d1097a4ac6dcc83b38809dea94160'/>
<id>urn:sha1:0910c216f78d1097a4ac6dcc83b38809dea94160</id>
<content type='text'>
In the PCM read/write loop, the driver calls snd_pcm_update_hw_ptr()
at each time at the beginning of the loop.  Russell King reported that
this hogs CPU significantly.

The current code assumes that the pointer callback is very fast and
cheap, also not too much fine grained.  It's not true in all cases.
When the pointer advances short samples while the read/write copy has
been performed, the driver updates the hw_ptr and gets avail &gt; 0
again.  Then it tries to read/write these small chunks.  This repeats
until the avail really gets to zero.

For avoiding this situation, a simple workaround is to call
snd_pcm_update_hw_ptr() only once at starting the loop, assuming that
the read/write copy is performed fast enough.  If the available count
becomes short, it goes to snd_pcm_wait_avail() anyway, and this
processes right.

Tested-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Constify the list in snd_pcm_hw_constraint_list</title>
<updated>2012-03-15T06:35:17Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-03-14T19:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4af87a939ef7092fdca267fba473cf8407d6d8e2'/>
<id>urn:sha1:4af87a939ef7092fdca267fba473cf8407d6d8e2</id>
<content type='text'>
Allows the constraint lists to be declared const by drivers which seems
reasonable; there's plenty of other constification we could do if we were
being complete but this was easy and quick.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed</title>
<updated>2011-10-31T23:31:22Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-09-22T13:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d81a6d71760c4d8323f1f9a506c64084caa09063'/>
<id>urn:sha1:d81a6d71760c4d8323f1f9a506c64084caa09063</id>
<content type='text'>
These aren't modules, but they do make use of these macros, so
they will need export.h to get that definition.  Previously,
they got it via the implicit module.h inclusion.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: add snd_pcm_hw_rule_noresample()</title>
<updated>2011-09-20T06:56:45Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2011-09-16T21:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5b702a64b4c273c8eed7e4e721364493d01fdc9'/>
<id>urn:sha1:d5b702a64b4c273c8eed7e4e721364493d01fdc9</id>
<content type='text'>
Add a helper function to allow drivers to disable hardware resampling
when the application has specified the SNDRV_PCM_HW_PARAMS_NORESAMPLE
flag.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
