view 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
line wrap: on
line source

#ifndef __COMMON_H
#define __COMMON_H

#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <unistd.h>

#include "app.h"
#include "bitmap.h"
#include "wm/ws.h"

extern inline void TranslateFilename( int c,char * tmp );
extern char * Translate( char * str );
extern void PutImage( txSample * bf,int x,int y,int max,int ofs );
extern void SimplePotmeterPutImage( txSample * bf,int x,int y,float frac );
extern void Render( wsTWindow * window,wItem * Items,int nrItems,char * db,int size );

#endif