comparison Gui/interface.c @ 6623:7bc4c6ba9485

add -audiofile support for gui
author pontscho
date Tue, 02 Jul 2002 22:31:50 +0000
parents f554e7271587
children fd3ac41ee1a1
comparison
equal deleted inserted replaced
6622:da08877b9512 6623:7bc4c6ba9485
176 #ifdef HAVE_VCD 176 #ifdef HAVE_VCD
177 if ( (unsigned int)arg & guiVCD ) guiIntfStruct.VCDTracks=0; 177 if ( (unsigned int)arg & guiVCD ) guiIntfStruct.VCDTracks=0;
178 #endif 178 #endif
179 break; 179 break;
180 case guiReDraw: 180 case guiReDraw:
181 // if ( audio_out )
182 // {
183 // float l,r;
184 // mixer_getvolume( &l,&r );
185 // guiIntfStruct.Volume=(r>l?r:l);
186 // printf( "!!! guiIntfStruct.Volume: %.2f \n",guiIntfStruct.Volume );
187 // }
188 mplEventHandling( evRedraw,0 ); 181 mplEventHandling( evRedraw,0 );
189 break; 182 break;
190 case guiSetVolume: 183 case guiSetVolume:
191 if ( audio_out ) 184 if ( audio_out )
192 { 185 {