diff Alc/ALc.c @ 14:63312ec4a2bf

limit to 16bit mono for now.
author Robert McIntyre <rlm@mit.edu>
date Mon, 31 Oct 2011 08:01:08 -0700
parents 99df34265b40
children
line wrap: on
line diff
     1.1 --- a/Alc/ALc.c	Mon Oct 31 07:44:02 2011 -0700
     1.2 +++ b/Alc/ALc.c	Mon Oct 31 08:01:08 2011 -0700
     1.3 @@ -2382,7 +2382,10 @@
     1.4  
     1.5      if(ConfigValueExists(NULL, "format"))
     1.6          device->Flags |= DEVICE_CHANNELS_REQUEST;
     1.7 -    fmt = GetConfigValue(NULL, "format", "AL_FORMAT_STEREO16");
     1.8 +    //fmt = GetConfigValue(NULL, "format", "AL_FORMAT_STEREO16");
     1.9 +    //RLM: audio-send only supports 16 bit mono output for now,
    1.10 +    //pending bug fixes.
    1.11 +    fmt = "AL_FORMAT_MONO16";
    1.12      GetFormatFromString(fmt, &device->FmtChans, &device->FmtType);
    1.13  
    1.14      device->NumUpdates = GetConfigValueInt(NULL, "periods", 4);