Takashi Iwai
00857544be
- Backport upstream fixes for plug-in API rewind, a possible memory leak in direct plugins, chmap buffer overflow and some segfaults: 0003-Allow-specifying-the-max-number-of-cards.patch 0004-pcm_hw-Remove-unused-fields-in-struct.patch 0005-pcm_plugin-Fix-return-value-of-snd_pcm_rewind.patch 0006-pcm_direct-fix-the-memory-leak-when-parsing-the-slav.patch 0007-chmap-Always-succeed-setting-the-map-to-what-it-alre.patch 0008-pcm_hw-Fix-buffer-overflow-in-chmap.patch 0009-pcm_direct-fix-SEGFAULT-when-getgrnam_r-returns-0-an.patch OBS-URL: https://build.opensuse.org/request/show/179267 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=135
31 lines
969 B
Diff
31 lines
969 B
Diff
From 7f877543a36efd8fd5d38fae21352fc0567ece21 Mon Sep 17 00:00:00 2001
|
|
From: David Henningsson <david.henningsson@canonical.com>
|
|
Date: Thu, 30 May 2013 12:26:33 +0200
|
|
Subject: [PATCH] pcm_hw: Remove unused fields in struct
|
|
|
|
These fields are not used, and their name similarity to other
|
|
fields are quite confusing when trying to debug alsa-lib.
|
|
|
|
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
src/pcm/pcm_hw.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c
|
|
index 0f3226d..196393d 100644
|
|
--- a/src/pcm/pcm_hw.c
|
|
+++ b/src/pcm/pcm_hw.c
|
|
@@ -95,8 +95,6 @@ typedef struct {
|
|
volatile struct snd_pcm_mmap_status * mmap_status;
|
|
struct snd_pcm_mmap_control *mmap_control;
|
|
struct snd_pcm_sync_ptr *sync_ptr;
|
|
- snd_pcm_uframes_t hw_ptr;
|
|
- snd_pcm_uframes_t appl_ptr;
|
|
int period_event;
|
|
snd_timer_t *period_timer;
|
|
struct pollfd period_timer_pfd;
|
|
--
|
|
1.8.3
|
|
|