view Gui/mplayer/common.h @ 19889:d4bb39d65f87

When the hardware sample format is AC3, do not force using an hardcoded device name. The setting of the non-audio bit is now done by changing the default value of the AES0 parameter in the ALSA configuration structures. This works with user-specified devices, too.
author cladisch
date Mon, 18 Sep 2006 16:58:21 +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