11.2Sisaki/* $NetBSD: mulaw.h,v 1.2 2019/05/08 13:40:17 isaki Exp $ */ 21.2Sisaki 31.2Sisaki/* 41.2Sisaki * Copyright (C) 2017 Tetsuya Isaki. All rights reserved. 51.2Sisaki * Copyright (C) 2017 Y.Sugahara (moveccr). All rights reserved. 61.2Sisaki * 71.2Sisaki * Redistribution and use in source and binary forms, with or without 81.2Sisaki * modification, are permitted provided that the following conditions 91.2Sisaki * are met: 101.2Sisaki * 1. Redistributions of source code must retain the above copyright 111.2Sisaki * notice, this list of conditions and the following disclaimer. 121.2Sisaki * 2. Redistributions in binary form must reproduce the above copyright 131.2Sisaki * notice, this list of conditions and the following disclaimer in the 141.2Sisaki * documentation and/or other materials provided with the distribution. 151.2Sisaki * 161.2Sisaki * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 171.2Sisaki * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 181.2Sisaki * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 191.2Sisaki * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 201.2Sisaki * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 211.2Sisaki * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 221.2Sisaki * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 231.2Sisaki * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 241.2Sisaki * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 251.2Sisaki * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 261.2Sisaki * SUCH DAMAGE. 271.2Sisaki */ 281.2Sisaki 291.2Sisaki#ifndef _SYS_DEV_AUDIO_MULAW_H_ 301.2Sisaki#define _SYS_DEV_AUDIO_MULAW_H_ 311.2Sisaki 321.2Sisaki#include <dev/audio/audio_if.h> 331.2Sisaki 341.2Sisakiextern void audio_mulaw_to_internal(audio_filter_arg_t *); 351.2Sisakiextern void audio_internal_to_mulaw(audio_filter_arg_t *); 361.2Sisakiextern void audio_alaw_to_internal(audio_filter_arg_t *); 371.2Sisakiextern void audio_internal_to_alaw(audio_filter_arg_t *); 381.2Sisaki 391.2Sisaki#endif /* !_SYS_DEV_AUDIO_MULAW_H_ */ 40