comparison Alc/backends/send.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 92b416b4e027
children 19ff95c69cf5
comparison
equal deleted inserted replaced
13:92b416b4e027 14:63312ec4a2bf
473 device->ExtraData = NULL; 473 device->ExtraData = NULL;
474 } 474 }
475 475
476 static ALCboolean send_reset_playback(ALCdevice *device) 476 static ALCboolean send_reset_playback(ALCdevice *device)
477 { 477 {
478 //send_data *data = (send_data*)device->ExtraData;
479 //ALuint channels=0, bits=0;
480 //device->FmtType = DevFmtShort;
481 //bits = BytesFromDevFmt(device->FmtType) * 8;
482 //channels = ChannelsFromDevFmt(device->FmtChans);
483 //data->size = device->UpdateSize * channels * bits / 8;
484 SetDefaultWFXChannelOrder(device); 478 SetDefaultWFXChannelOrder(device);
485 return ALC_TRUE; 479 return ALC_TRUE;
486 } 480 }
487 481
488 static void send_stop_playback(ALCdevice *Device){ 482 static void send_stop_playback(ALCdevice *Device){