Mercurial > mplayer.hg
annotate Gui/mplayer/common.h @ 17573:8921544f4114
Simplify get_delay(): we don't need to get the complete PCM status but
can call snd_pcm_delay() directly.
To avoid the audio device appearing to be running too fast after an
underrun, ignore any samples that were lost in an underrun.
author | cladisch |
---|---|
date | Fri, 10 Feb 2006 09:24:48 +0000 |
parents | 0e1471d9da74 |
children |
rev | line source |
---|---|
8973 | 1 #ifndef __COMMON_H |
2 #define __COMMON_H | |
3 | |
4 #include <stdlib.h> | |
5 #include <stdio.h> | |
6 #include <inttypes.h> | |
7 #include <sys/stat.h> | |
8 #include <unistd.h> | |
9 | |
17144 | 10 #include "app.h" |
11 #include "bitmap.h" | |
12 #include "wm/ws.h" | |
8973 | 13 |
14 extern inline void TranslateFilename( int c,char * tmp ); | |
15 extern char * Translate( char * str ); | |
16 extern void PutImage( txSample * bf,int x,int y,int max,int ofs ); | |
12693
eb996ecdfcd5
simple, smooth, ram-saving dynamic potmeter, which feature is required by the tvisor skin, patch by Andre Kuhne
alex
parents:
8973
diff
changeset
|
17 extern void SimplePotmeterPutImage( txSample * bf,int x,int y,float frac ); |
8973 | 18 extern void Render( wsTWindow * window,wItem * Items,int nrItems,char * db,int size ); |
19 | |
20 #endif |