/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_oss.c
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 /sourceforge.net/trunk/rdesktop/rdpsnd_oss.c

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

revision 1381 by ossman_, Wed Jan 10 09:15:15 2007 UTC revision 1382 by jsorg71, Thu Jan 18 05:42:11 2007 UTC
# Line 56  static RD_BOOL dsp_in; Line 56  static RD_BOOL dsp_in;
56    
57  static int stereo;  static int stereo;
58  static int format;  static int format;
59  static int snd_rate;  static uint32 snd_rate;
60  static short samplewidth;  static short samplewidth;
61  static char *dsp_dev;  static char *dsp_dev;
62  static RD_BOOL in_esddsp;  static RD_BOOL in_esddsp;
# Line 293  oss_set_format(RD_WAVEFORMATEX * pwfx) Line 293  oss_set_format(RD_WAVEFORMATEX * pwfx)
293          snd_rate = pwfx->nSamplesPerSec;          snd_rate = pwfx->nSamplesPerSec;
294          if (ioctl(dsp_fd, SNDCTL_DSP_SPEED, &snd_rate) == -1)          if (ioctl(dsp_fd, SNDCTL_DSP_SPEED, &snd_rate) == -1)
295          {          {
296                  int rates[] = { 44100, 48000, 0 };                  uint32 rates[] = { 44100, 48000, 0 };
297                  int *prates = rates;                  uint32 *prates = rates;
298    
299                  while (*prates != 0)                  while (*prates != 0)
300                  {                  {

Legend:
Removed from v.1381  
changed lines
  Added in v.1382

  ViewVC Help
Powered by ViewVC 1.1.26