/home/users/builder/rpm/BUILD/alsa-lib-1.0.13/include/conv.h

Go to the documentation of this file.
00001 
00011 /*
00012  *   This library is free software; you can redistribute it and/or modify
00013  *   it under the terms of the GNU Lesser General Public License as
00014  *   published by the Free Software Foundation; either version 2.1 of
00015  *   the License, or (at your option) any later version.
00016  *
00017  *   This program is distributed in the hope that it will be useful,
00018  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  *   GNU Lesser General Public License for more details.
00021  *
00022  *   You should have received a copy of the GNU Lesser General Public
00023  *   License along with this library; if not, write to the Free Software
00024  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00025  *
00026  */
00027 
00028 #ifndef __ALSA_CONV_H
00029 #define __ALSA_CONV_H
00030 
00038 #define snd_host_to_LE_16(val)  __cpu_to_le16(val)
00039 
00040 #define snd_LE_to_host_16(val)  __le16_to_cpu(val)
00041 
00042 #define snd_host_to_LE_32(val)  __cpu_to_le32(val)
00043 
00044 #define snd_LE_to_host_32(val)  __le32_to_cpu(val)
00045 
00046 #define snd_host_to_BE_16(val)  __cpu_to_be16(val)
00047 
00048 #define snd_BE_to_host_16(val)  __be16_to_cpu(val)
00049 
00050 #define snd_host_to_BE_32(val)  __cpu_to_be32(val)
00051 
00052 #define snd_BE_to_host_32(val)  __be32_to_cpu(val)
00053 
00056 #endif /* __ALSA_CONV_H */
00057 

Generated on Sun Apr 1 18:36:41 2007 for ALSA project - the C library reference by  doxygen 1.5.1