#include <cafe.h> AXPB_ERROR_CODE AXSetDeviceUpsampleStage(AXPBDeviceType device, BOOL post);
|device||Output device. (only TV & DRC supported)|
Zero if successful, an error of type
As of this writing, the voice generation and the mixing stages are at 32kHz. The final mix (merge of main and uax buses) is also at 32kHz. To let users mix their
own rendered sounds potentially at 48kHz, final mix callback is provided. User can choose to
get the final mix at 32kHz or 48kHz using
AXSetDeviceUpsampleStage. Setting upsample stage to post final mix callback lets users get the final mix at 32kHz.
Setting it to pre (post =
FALSE), lets users get the final mix at 48kHz.
Remotes are not handled, since it is the duty of the users to take the samples for remote and send them to WPAD. Since users have access to final mix and it never comes back to AX, users can and are expected to handle the samples appropriately.
2013/05/08 Automated cleanup pass.
2011/02/21 Initial version.