⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swfdec_codec_audio.h

📁 Swfdec is a decoder/renderer for Macromedia Flash animations. The decoding and rendering engine is
💻 H
字号:
/* Swfdec * Copyright (C) 2006-2007 Benjamin Otte <otte@gnome.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor,  * Boston, MA  02110-1301  USA */#ifndef _SWFDEC_CODEC_H_#define _SWFDEC_CODEC_H_#include <glib.h>#include <libswfdec/swfdec_audio_internal.h>#include <libswfdec/swfdec_buffer.h>typedef struct _SwfdecAudioDecoder SwfdecAudioDecoder;typedef enum {  SWFDEC_AUDIO_FORMAT_UNDEFINED = 0,  SWFDEC_AUDIO_FORMAT_ADPCM = 1,  SWFDEC_AUDIO_FORMAT_MP3 = 2,  SWFDEC_AUDIO_FORMAT_UNCOMPRESSED = 3,  SWFDEC_AUDIO_FORMAT_NELLYMOSER_8KHZ = 5,  SWFDEC_AUDIO_FORMAT_NELLYMOSER = 6} SwfdecAudioFormat;typedef SwfdecAudioDecoder * (SwfdecAudioDecoderNewFunc) (SwfdecAudioFormat type, gboolean width,    SwfdecAudioOut format);struct _SwfdecAudioDecoder {  SwfdecAudioFormat	format;  SwfdecAudioOut	out_format;  void			(* push)	(SwfdecAudioDecoder *	decoder,					 SwfdecBuffer *		buffer);  SwfdecBuffer *	(* pull)	(SwfdecAudioDecoder *	decoder);  void		  	(* free)	(SwfdecAudioDecoder *	decoder);};SwfdecAudioDecoder *   	swfdec_audio_decoder_new      	(SwfdecAudioFormat	format,							 gboolean		width,							 SwfdecAudioOut		data_format);void			swfdec_audio_decoder_free      	(SwfdecAudioDecoder *	decoder);SwfdecAudioOut		swfdec_audio_decoder_get_format	(SwfdecAudioDecoder *	decoder);void			swfdec_audio_decoder_push	(SwfdecAudioDecoder *	decoder,							 SwfdecBuffer *		buffer);SwfdecBuffer *		swfdec_audio_decoder_pull	(SwfdecAudioDecoder *	decoder);G_END_DECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -