- Remove superfluous Loopback.conf from the source, as it was already included in 1.0.28 tarball - Backport upstream fixes: UCM dummy PCM definition, ICE1712 surround definitions, USB-audio secondary PCM definition, PCM rate plugin boundary overwrap fix, MONOTONIC_RAW timestamp support, PCM route plugin 3-byte format fixes, etc: 0001-ucm-Document-PlaybackPCMIsDummy-and-CapturePCMIsDumm.patch 0002-ICE1712-add-surround71-pcm-definition.patch 0003-USB-Audio-Add-second-S-PDIF-device-on-Phiree-U2.patch 0004-pcm-rate-fix-hw_ptr-exceed-the-boundary.patch 0005-pcm-Provide-a-CLOCK_MONOTONIC_RAW-timestamp-type.patch 0006-Add-timestamp-type-to-sw_params-internal-only.patch 0007-pcm-Add-sw_params-API-functions-to-get-set-timestamp.patch 0008-pcm-Implement-timestamp-type-setup-in-hw-plugin.patch 0009-pcm-Implement-timestamp-type-handling-in-all-plugins.patch 0010-test-audio_time-Set-timestamp-type-explicitly.patch 0011-pcm-route-Use-get-put-labels-for-all-3-byte-formats.patch 0012-pcm-Fill-sw_params-proto-field.patch 0013-pcm-route-Use-get32-for-multi-source-route-calculati.patch 0014-pcm-Drop-snd_pcm_linear_-get-put-32_index.patch OBS-URL: https://build.opensuse.org/request/show/241986 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=162
42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From 5250a8e212fd927735cfc27612b060c31dc3a230 Mon Sep 17 00:00:00 2001
|
|
From: Takashi Iwai <tiwai@suse.de>
|
|
Date: Thu, 10 Jul 2014 14:22:33 +0200
|
|
Subject: [PATCH 06/14] Add timestamp type to sw_params (internal only)
|
|
|
|
This patch is just the udpate of sound/asound.h taken from the kernel
|
|
commit. The API changes and PCM structure changes will follow after
|
|
this.
|
|
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
include/sound/asound.h | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/sound/asound.h b/include/sound/asound.h
|
|
index 9061cdd5b69f..552f41bd1ca9 100644
|
|
--- a/include/sound/asound.h
|
|
+++ b/include/sound/asound.h
|
|
@@ -136,7 +136,7 @@ struct snd_hwdep_dsp_image {
|
|
* *
|
|
*****************************************************************************/
|
|
|
|
-#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 11)
|
|
+#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 12)
|
|
|
|
typedef unsigned long snd_pcm_uframes_t;
|
|
typedef signed long snd_pcm_sframes_t;
|
|
@@ -386,7 +386,9 @@ struct snd_pcm_sw_params {
|
|
snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
|
|
snd_pcm_uframes_t silence_size; /* silence block size */
|
|
snd_pcm_uframes_t boundary; /* pointers wrap point */
|
|
- unsigned char reserved[64]; /* reserved for future */
|
|
+ unsigned int tstamp_type; /* timestamp type */
|
|
+ int pads; /* alignment, reserved */
|
|
+ unsigned char reserved[56]; /* reserved for future */
|
|
};
|
|
|
|
struct snd_pcm_channel_info {
|
|
--
|
|
2.0.1
|
|
|