1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Sound DSP routines |
Sound DSP routines |
4 |
Copyright (C) Michael Gernoth 2006 |
Copyright (C) Michael Gernoth 2006-2007 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
22 |
void rdpsnd_dsp_softvol_set(uint16 left, uint16 right); |
void rdpsnd_dsp_softvol_set(uint16 left, uint16 right); |
23 |
|
|
24 |
/* Resample control */ |
/* Resample control */ |
25 |
BOOL rdpsnd_dsp_resample_set(uint32 device_srate, uint16 device_bitspersample, |
RD_BOOL rdpsnd_dsp_resample_set(uint32 device_srate, uint16 device_bitspersample, |
26 |
uint16 device_channels); |
uint16 device_channels); |
27 |
BOOL rdpsnd_dsp_resample_supported(WAVEFORMATEX * pwfx); |
RD_BOOL rdpsnd_dsp_resample_supported(RD_WAVEFORMATEX * pwfx); |
28 |
|
|
29 |
STREAM rdpsnd_dsp_process(unsigned char *data, unsigned int size, |
STREAM rdpsnd_dsp_process(unsigned char *data, unsigned int size, |
30 |
struct audio_driver *current_driver, WAVEFORMATEX * format); |
struct audio_driver *current_driver, RD_WAVEFORMATEX * format); |