From 2a8a3cef7b24c7ce23a3bfe8264f91d0207312f5 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 25 May 2009 05:16:21 +0000 Subject: some more static svn path=/trunk/; revision=11490 --- desiredata/src/s_audio_alsamm.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'desiredata') diff --git a/desiredata/src/s_audio_alsamm.c b/desiredata/src/s_audio_alsamm.c index 06205214..3a57691d 100644 --- a/desiredata/src/s_audio_alsamm.c +++ b/desiredata/src/s_audio_alsamm.c @@ -140,13 +140,12 @@ int alsamm_open_audio(int rate) { /* Be aware in ALSA periodsize can be in bytes, where buffersize is in frames, but sometimes buffersize is in bytes and periods in frames, crazy alsa... ...we use periodsize and buffersize in frames */ - int i; snd_pcm_hw_params_alloca(&hw_params); snd_pcm_sw_params_alloca(&sw_params); /* see add_devname */ /* first have a look which cards we can get and set up device infos for them */ /* init some structures */ - for(i=0;i < ALSA_MAXDEV;i++) { + for(int i=0; i