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

📄 audiobuffer.h

📁 从 IEEE 1394总线接收传输流
💻 H
字号:
/* * MPEG2-TS over IEEE 1394 decoder - receive and decode MPEG-2 transport *                                   streams according to IEC 61883-4 * * Copyright (C) 2000-2007, Manfred Weihs <mweihs@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef AUDIOBUFFER_H#define AUDIOBUFFER_H#include <semaphore.h>#include "mpg123.h"#define MAXFRAMESIZE 1792#define AUDIOFRAMESINBUFFER 200struct audiobuffer_entry {	int havepts;	unsigned long long pts;	int ssize;	struct frame fr;	unsigned char buffer[MAXFRAMESIZE+512];};extern struct audiobuffer_entry audiobuffer[AUDIOFRAMESINBUFFER];extern volatile int audiobufferstart,audiobufferend;extern sem_t audiobuffer_sem;int audio_system_init();int audio_system_done();extern int do_layer1(struct frame *,int,struct audio_info_struct *);extern int do_layer2(struct frame *,int,struct audio_info_struct *);extern int do_layer3(struct frame *,int,struct audio_info_struct *);#endif

⌨️ 快捷键说明

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