# HG changeset patch # User arpi_esp # Date 992043418 0 # Node ID 0f7be115a4db7dd43fc9a9f0f53acbec51fb1c13 # Parent a8918dfbc180e70dc80141e16cd4b0e2c6bfa257 patch by J¸«ärgen Keil diff -r a8918dfbc180 -r 0f7be115a4db DOCS/SOLARIS --- a/DOCS/SOLARIS Fri Jun 08 23:36:13 2001 +0000 +++ b/DOCS/SOLARIS Fri Jun 08 23:36:58 2001 +0000 @@ -1,13 +1,16 @@ Notes for Solaris users ======================= -1. To build the package you will need GNU make (gmake, /opt/sfw/gmake), -native Solaris make will not work. +1. It *only* works on Solaris x86. It can't work on SPARC systems due to + the use of win32 codecs. -2. For DVD support you must have the patched libcss installed. Patch: +2. To build the package you will need GNU make (gmake, /opt/sfw/gmake), + native Solaris make will not work. + +3. For DVD support you must have the patched libcss installed. Patch: http://www.tools.de/solaris/mplayer/ -3. Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a +4. Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a capacity >4GB: - The sd(7D) driver on solaris 8 x86 driver has bug when accessing a diff -r a8918dfbc180 -r 0f7be115a4db mixer.c --- a/mixer.c Fri Jun 08 23:36:13 2001 +0000 +++ b/mixer.c Fri Jun 08 23:36:58 2001 +0000 @@ -6,19 +6,18 @@ #include #include "config.h" - -#ifdef USE_OSS_AUDIO -#include -#endif - -#ifdef USE_SUN_AUDIO -#include -#endif - #include "mixer.h" + #if defined(USE_OSS_AUDIO) +/* + * Mixer interface using OSS style soundcard commands. + */ + +#include + + char * mixer_device=DEV_MIXER; int mixer_usemaster=0; @@ -66,8 +65,16 @@ close( fd ); } } + #elif defined(USE_SUN_AUDIO) +/* + * Mixer interface using Sun style soundcard commands. + */ + +#include + + char * mixer_device="/dev/audioctl"; int mixer_usemaster=0; @@ -101,6 +108,23 @@ close( fd ); } } + +#else + +/* + * No usable Mixer interface selected. + * Just some stub routines. + */ + +char * mixer_device=NULL; +int mixer_usemaster=0; + +void mixer_getvolume( float *l,float *r ){ + *l = *r = 50.0; +} +void mixer_setvolume( float l,float r ){ +} + #endif diff -r a8918dfbc180 -r 0f7be115a4db vcd_read.h --- a/vcd_read.h Fri Jun 08 23:36:13 2001 +0000 +++ b/vcd_read.h Fri Jun 08 23:36:58 2001 +0000 @@ -175,7 +175,7 @@ (error_field << 1); cdb.cdb_opaque[10] = sub_channel; - sc.uscsi_cdb = &cdb; + sc.uscsi_cdb = (caddr_t)&cdb; sc.uscsi_cdblen = 12; sc.uscsi_bufaddr = vcd_buf; sc.uscsi_buflen = 2336;