[MPlayer-dev-eng] [PATCH] More ao_alsa.c fixes

eviv bulgroz ebulgroz at yahoo.com
Wed Jul 14 10:50:17 CEST 2004


Zsolt Barat wrote:

> Diego Biurrun wrote:
>
>> eviv bulgroz writes:
>>  
>>
>>> Reimar Döffinger wrote:
>>>
>>>   
>>>
>>>> joyping applied with changes.
>>>>
>>>>     
>>>
>>> ... and bugs:
>>>   
>>
>>
>> Zsolt, Reimar, could you please get this sorted out ASAP, it's the
>> main thing holding up the pre5 release.
>> Thanks
>>
>> Diego
>>  
>>
> done, my 10l fixed and reimars vol_calc fixes applied.

intial patch used status=%p instead of status=%i

Index: main/libao2/ao_alsa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa.c,v
retrieving revision 1.5
diff -u -r1.5 ao_alsa.c
--- main/libao2/ao_alsa.c    14 Jul 2004 00:48:26 -0000    1.5
+++ main/libao2/ao_alsa.c    14 Jul 2004 08:49:24 -0000
@@ -1104,7 +1104,7 @@
     }
 
     if (snd_pcm_status_get_state(status) != SND_PCM_STATE_RUNNING)
-      mp_msg(MSGT_AO,MSGL_V,"alsa-space: free space = %i, status=%i, %s 
--\n", ret, status, str_status);
+      mp_msg(MSGT_AO,MSGL_V,"alsa-space: free space = %i, status=%p, %s 
--\n", ret, status, str_status);
    
     if (ret < 0) {
       mp_msg(MSGT_AO,MSGL_ERR,"negative value!!\n");





More information about the MPlayer-dev-eng mailing list