1 |
/* -*- c-basic-offset: 8 -*- |
/* -*- c-basic-offset: 8 -*- |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Sound Channel Process Functions - Sun |
Sound Channel Process Functions - Sun |
4 |
Copyright (C) Matthew Chapman 2003 |
Copyright (C) Matthew Chapman 2003-2007 |
5 |
Copyright (C) GuoJunBo guojunbo@ict.ac.cn 2003 |
Copyright (C) GuoJunBo guojunbo@ict.ac.cn 2003 |
6 |
Copyright (C) Michael Gernoth mike@zerfleddert.de 2003-2006 |
Copyright (C) Michael Gernoth mike@zerfleddert.de 2003-2007 |
7 |
|
|
8 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
9 |
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 |
100 |
} |
} |
101 |
|
|
102 |
BOOL |
BOOL |
103 |
sun_format_supported(WAVEFORMATEX * pwfx) |
sun_format_supported(RD_WAVEFORMATEX * pwfx) |
104 |
{ |
{ |
105 |
if (pwfx->wFormatTag != WAVE_FORMAT_PCM) |
if (pwfx->wFormatTag != WAVE_FORMAT_PCM) |
106 |
return False; |
return False; |
113 |
} |
} |
114 |
|
|
115 |
BOOL |
BOOL |
116 |
sun_set_format(WAVEFORMATEX * pwfx) |
sun_set_format(RD_WAVEFORMATEX * pwfx) |
117 |
{ |
{ |
118 |
audio_info_t info; |
audio_info_t info; |
119 |
|
|