/[rdesktop]/jpeg/rdesktop/trunk/rdpsnd_dsp.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/rdpsnd_dsp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

sourceforge.net/trunk/rdesktop/rdpsnd_dsp.h revision 1258 by stargo, Sun Sep 17 14:41:16 2006 UTC jpeg/rdesktop/trunk/rdpsnd_dsp.h revision 1507 by dpavlin, Mon Jul 20 16:45:11 2009 UTC
# Line 1  Line 1 
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-2008
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
# Line 18  Line 18 
18     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  */  */
20    
21    /* Software volume control */
22  void rdpsnd_dsp_softvol_set(uint16 left, uint16 right);  void rdpsnd_dsp_softvol_set(uint16 left, uint16 right);
23  unsigned char *rdpsnd_dsp_process(unsigned char *inbuffer, unsigned int size,  
24                                    struct audio_driver *current_driver, WAVEFORMATEX * format);  /* Endian conversion */
25    void rdpsnd_dsp_swapbytes(unsigned char *buffer, unsigned int size, RD_WAVEFORMATEX * format);
26    
27    /* Resample control */
28    RD_BOOL rdpsnd_dsp_resample_set(uint32 device_srate, uint16 device_bitspersample,
29                                    uint16 device_channels);
30    RD_BOOL rdpsnd_dsp_resample_supported(RD_WAVEFORMATEX * pwfx);
31    
32    STREAM rdpsnd_dsp_process(unsigned char *data, unsigned int size,
33                              struct audio_driver *current_driver, RD_WAVEFORMATEX * format);

Legend:
Removed from v.1258  
changed lines
  Added in v.1507

  ViewVC Help
Powered by ViewVC 1.1.26