From ee4bcb2f731616dbe89bc04f60ecbd6e790898d0 Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Tue, 7 Nov 2006 11:32:10 +0100 Subject: Alsa support for Maemo SDK (n770) - Remove compile warnings Here is a patch to remove compile warnings. It must be applied after last patch set I sent. This patch simply changes signedness of some point from the code to match the correct sign used by dsp-protocol structures. All must use unsigned variables. It also changes the way the pthread_mutex is initialized. The warning about pthreads is also removed. I tested the compilation with: gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) and sbox-arm-linux-gcc (GCC) 3.4.4 (release) (CodeSourcery ARM 2005q3-2) Signed-off-by: Eduardo Valentin --- maemo/alsa-dsp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'maemo/alsa-dsp.c') diff --git a/maemo/alsa-dsp.c b/maemo/alsa-dsp.c index f23741c..50ffb00 100644 --- a/maemo/alsa-dsp.c +++ b/maemo/alsa-dsp.c @@ -164,7 +164,6 @@ static snd_pcm_sframes_t alsa_dsp_transfer(snd_pcm_ioplug_t * io, words); result *= 2; result /= alsa_dsp->bytes_per_frame; - out: alsa_dsp->hw_pointer += result; DLEAVE(result); return result; -- cgit