Update of /cvsroot/squeak/squeak/platforms/unix/vm-sound-OSS
In directory sc8-pr-cvs1:/tmp/cvs-serv30463/vm-sound-OSS
Added Files:
acinclude.m4 sqUnixSoundOSS.c
Log Message:
Ian Piumarta's release 3.5-1devel
--- NEW FILE: acinclude.m4 ---
# -*- sh -*-
AC_MSG_CHECKING([for Open Sound System])
AC_TRY_COMPILE([#include <sys/soundcard.h>],[OPEN_SOUND_SYSTEM;],[
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
AC_PLUGIN_DISABLE
])
--- NEW FILE: sqUnixSoundOSS.c ---
/* sqUnixSoundOSS.c -- sound module for Open Sound System
*
* Author: Ian...@in...
*
* Last edited: 2003-02-10 18:34:32 by piumarta on emilia.inria.fr
*
* Copyright (C) 1996-2002 Ian Piumarta and other authors/contributors
* as listed elsewhere in this file.
* All rights reserved.
*
* You are NOT ALLOWED to distribute modified versions of this file
* under its original name. If you want to modify it and then make
* your modifications available publicly, rename the file first.
*
* This file is part of Unix Squeak.
*
* This file is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
[...1148 lines suppressed...]
if (!strcmp(argv[0], "-nomixer")) return noSoundMixer= 1;
return 0;
}
static void sound_printUsage(void)
{
printf("\nOSS <option>s:\n");
printf(" -nomixer disable mixer (volume) controls\n");
}
static void sound_printUsageNotes(void)
{
}
static void *sound_makeInterface(void)
{
return &sound_OSS_itf;
}
SqModuleDefine(sound, OSS);
|