Tweak for building with latest egcs.
This commit is contained in:
parent
2aea6362db
commit
5695fc84e1
1 changed files with 2 additions and 1 deletions
3
src/sm.h
3
src/sm.h
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#ifdef SL_USING_OSS_AUDIO
|
#ifdef SL_USING_OSS_AUDIO
|
||||||
#define SMMIXER_DEFAULT_DEVICE "/dev/mixer"
|
#define SMMIXER_DEFAULT_DEVICE "/dev/mixer"
|
||||||
|
// static char *labels [] = SOUND_DEVICE_LABELS;
|
||||||
#elif defined(WIN32)
|
#elif defined(WIN32)
|
||||||
#define SMMIXER_DEFAULT_DEVICE "mixer"
|
#define SMMIXER_DEFAULT_DEVICE "mixer"
|
||||||
#else
|
#else
|
||||||
|
@ -28,7 +29,7 @@ private:
|
||||||
int fd ;
|
int fd ;
|
||||||
|
|
||||||
#ifdef SL_USING_OSS_AUDIO
|
#ifdef SL_USING_OSS_AUDIO
|
||||||
static char *labels [] = SOUND_DEVICE_LABELS ;
|
// static char *labels [] = SOUND_DEVICE_LABELS ;
|
||||||
|
|
||||||
int ioctl ( int cmd, int param = 0 )
|
int ioctl ( int cmd, int param = 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue