-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: alsa-lib Version: 1.0.17 Severity: wishlist Tags: patch
Hello. Maybe you could consider to add Pulseaudio >= 0.9.11 support merging a simple patch already upstream (in attach the one ready to be added in debian/patch/series). For reference: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-July/002083.html This maybe could speedup the upgrade of Pulseaudio packages also. Thank you. - --- System information. --- Architecture: i386 Kernel: Linux 2.6.26-gas-machine Debian Release: lenny/sid 850 testing security.debian.org 850 testing ftp.it.debian.org 800 unstable www.debian-multimedia.org 800 unstable opensync.gforge.punktart.de 800 unstable ftp.it.debian.org 750 experimental ftp.it.debian.org 500 trylegaldownloads trylegaldownloads.de 500 stable wine.budgetdedicated.com 500 etch-wx apt.wxwidgets.org - --- Package information. --- Depends (Version) | Installed =======================-+-=========== | - -- Alessio Gaeta http://meden.uni.cc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjUxDAACgkQirbk3DO+UZ1yNACgiYx8uJMFX/QttbCnT3v9nylo oTMAnAwsL2gFpnOr1IqFmgrp3Sp9FXlV =AOQ/ -----END PGP SIGNATURE-----
--- a/src/pcm/pcm_plugin.c +++ b/src/pcm/pcm_plugin.c @@ -203,7 +203,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t snd_pcm_sframes_t n = snd_pcm_mmap_hw_avail(pcm); snd_pcm_sframes_t sframes; - if ((snd_pcm_uframes_t)n > frames) + if ((snd_pcm_uframes_t)n < frames) frames = n; if (frames == 0) return 0; @@ -222,7 +222,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t frames = plugin->client_frames(pcm, sframes); snd_pcm_mmap_appl_backward(pcm, (snd_pcm_uframes_t) frames); snd_atomic_write_end(&plugin->watom); - return n; + return (snd_pcm_sframes_t) frames; } static snd_pcm_sframes_t snd_pcm_plugin_forwardable(snd_pcm_t *pcm) @@ -234,7 +234,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_ { snd_pcm_plugin_t *plugin = pcm->private_data; snd_pcm_sframes_t n = snd_pcm_mmap_avail(pcm); - snd_pcm_uframes_t sframes; + snd_pcm_sframes_t sframes; if ((snd_pcm_uframes_t)n < frames) frames = n; @@ -236,7 +236,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_ snd_pcm_sframes_t n = snd_pcm_mmap_avail(pcm); snd_pcm_uframes_t sframes; - if ((snd_pcm_uframes_t)n > frames) + if ((snd_pcm_uframes_t)n < frames) frames = n; if (frames == 0) return 0; @@ -246,8 +246,8 @@ static snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_ else sframes = frames; snd_atomic_write_begin(&plugin->watom); - sframes = INTERNAL(snd_pcm_forward)(plugin->gen.slave, (snd_pcm_uframes_t) sframes); - if ((snd_pcm_sframes_t) sframes < 0) { + sframes = INTERNAL(snd_pcm_forward)(plugin->gen.slave, sframes); + if (sframes < 0) { snd_atomic_write_end(&plugin->watom); return sframes; } @@ -255,7 +255,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_ frames = plugin->client_frames(pcm, sframes); snd_pcm_mmap_appl_forward(pcm, (snd_pcm_uframes_t) frames); snd_atomic_write_end(&plugin->watom); - return n; + return (snd_pcm_sframes_t) frames; } static snd_pcm_sframes_t snd_pcm_plugin_write_areas(snd_pcm_t *pcm,