diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-03 00:31:41 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-03 00:31:41 +0000 |
commit | 4cd35a04b907fcf450f3571b0f3288df848c4b07 (patch) | |
tree | f47dab2f2f578efae47bde754f9462e433b151ba /mplayer.c | |
parent | 8e97bbd1dd30c66b3b12c42c56c773ee70b798b6 (diff) | |
download | mpv-4cd35a04b907fcf450f3571b0f3288df848c4b07.tar.bz2 mpv-4cd35a04b907fcf450f3571b0f3288df848c4b07.tar.xz |
FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@959 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -17,7 +17,11 @@ #include <sys/stat.h> #include <fcntl.h> #include <sys/soundcard.h> +#ifdef __FreeBSD__ +#include <sys/cdio.h> +#else #include <linux/cdrom.h> +#endif #include "version.h" #include "config.h" @@ -444,7 +448,7 @@ int screen_size_y=0;//SCREEN_SIZE_Y; int screen_size_xy=0; // movie info: int out_fmt=0; -char *dsp="/dev/dsp"; +char *dsp=NULL; int force_ni=0; char *conffile; int conffile_fd; @@ -575,7 +579,8 @@ if(!filename){ } // check audio_out -//audio_out=audio_out_drivers[0]; +audio_out=audio_out_drivers[0]; +if(dsp) audio_out->control(AOCONTROL_SET_DEVICE,dsp); // check codec.conf if(!parse_codec_cfg(get_path("codecs.conf"))){ |