![]() |
|
|||
0001 /* 0002 * Copyright by Hannu Savolainen 1993-1997 0003 * 0004 * Redistribution and use in source and binary forms, with or without 0005 * modification, are permitted provided that the following conditions are 0006 * met: 1. Redistributions of source code must retain the above copyright 0007 * notice, this list of conditions and the following disclaimer. 2. 0008 * Redistributions in binary form must reproduce the above copyright notice, 0009 * this list of conditions and the following disclaimer in the documentation 0010 * and/or other materials provided with the distribution. 0011 * 0012 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY 0013 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 0014 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 0015 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 0016 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 0017 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 0018 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 0019 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 0020 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 0021 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 0022 * SUCH DAMAGE. 0023 */ 0024 #ifndef SOUNDCARD_H 0025 #define SOUNDCARD_H 0026 0027 # include <asm/byteorder.h> 0028 #include <uapi/linux/soundcard.h> 0029 0030 # if defined(__BIG_ENDIAN) 0031 # define AFMT_S16_NE AFMT_S16_BE 0032 # elif defined(__LITTLE_ENDIAN) 0033 # define AFMT_S16_NE AFMT_S16_LE 0034 # else 0035 # error "could not determine byte order" 0036 # endif 0037 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |