2 * Copyright (C) Hidenori TAKESHIMA <hidenori@a2.ctktv.ne.jp>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include "wine/debug.h"
24 WINE_DEFAULT_DEBUG_CHANNEL(quartz);
29 void AUDIOUTL_ChangeSign8( BYTE* pbData, DWORD cbData )
31 BYTE* pbEnd = pbData + cbData;
33 while ( pbData < pbEnd )
40 void AUDIOUTL_ChangeSign16LE( BYTE* pbData, DWORD cbData )
42 BYTE* pbEnd = pbData + cbData;
45 while ( pbData < pbEnd )
52 void AUDIOUTL_ChangeSign16BE( BYTE* pbData, DWORD cbData )
54 BYTE* pbEnd = pbData + cbData;
56 while ( pbData < pbEnd )
63 void AUDIOUTL_ByteSwap( BYTE* pbData, DWORD cbData )
65 BYTE* pbEnd = pbData + cbData - 1;
68 while ( pbData < pbEnd )
71 pbData[0] = pbData[1];