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

📄 ring.h

📁 播放器源码
💻 H
字号:
/**************************************************************************************
 *                                                                                    *
 * This application contains code from OpenDivX and is released as a "Larger Work"    *
 * under that license. Consistant with that license, this application is released     *
 * under the GNU General Public License.                                              *
 *                                                                                    *
 * The OpenDivX license can be found at: http://www.projectmayo.com/opendivx/docs.php *
 * The GPL can be found at: http://www.gnu.org/copyleft/gpl.html                      *
 *                                                                                    *
 * Authors: Damien Chavarria <roy204 at projectmayo.com>                              *
 *                                                                                    *
 **************************************************************************************/

/**
 *
 * ring.h
 *
 * Audio Queue.
 */

#ifndef _RING_H
#define _RING_H

/*********************************************************************
 *                             INCLUDES                              *
 *********************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/*********************************************************************
 *                            FUNCTIONS                              *
 *********************************************************************/

void ring_init();
void ring_write(char *data, int size);
void ring_read(char *data, int size);
int  ring_full(int size);


#endif


⌨️ 快捷键说明

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