Skip to content
Snippets Groups Projects
Commit ea7e189f authored by Monty Montgomery's avatar Monty Montgomery
Browse files

Set properties and add modification header


git-svn-id: http://svn.xiph.org/trunk/ao@16829 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent b8d0a66d
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#ifdef HAVE_SYS_AUDIO_H
......
......@@ -21,7 +21,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include <stdio.h>
#include <string.h>
......
......@@ -22,7 +22,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include <stdio.h>
#include <string.h>
......
......@@ -21,7 +21,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include <stdio.h>
#include <string.h>
......
......@@ -4,6 +4,7 @@
*
* Original Copyright (C) Aaron Holtzman - May 1999
* Modifications Copyright (C) Stan Seibert - July 2000, July 2001
* Copyright (C) Monty - January 2010
*
* This file is part of libao, a cross-platform audio output library. See
* README for a history of this source code.
......@@ -22,7 +23,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include <stdio.h>
......@@ -31,12 +36,13 @@
#include <signal.h>
#include <ao/ao.h>
#define WAVE_FORMAT_PCM 0x0001
#define FORMAT_MULAW 0x0101
#define IBM_FORMAT_ALAW 0x0102
#define IBM_FORMAT_ADPCM 0x0103
#define WAVE_FORMAT_PCM 0x0001
#define FORMAT_MULAW 0x0101
#define IBM_FORMAT_ALAW 0x0102
#define IBM_FORMAT_ADPCM 0x0103
#define WAVE_FORMAT_EXTENSIBLE 0xfffe
#define WAV_HEADER_LEN 44
#define WAV_HEADER_MAXLEN 68
#define WRITE_U32(buf, x) *(buf) = (unsigned char)(x&0xff);\
*((buf)+1) = (unsigned char)((x>>8)&0xff);\
......@@ -68,7 +74,10 @@ struct common_struct
unsigned int dwSamplesPerSec;
unsigned int dwAvgBytesPerSec;
unsigned short wBlockAlign;
unsigned short wBitsPerSample; /* Only for PCM */
unsigned short wBitsPerSample;
unsigned short cbSize;
unsigned int dwChannelMask;
unsigned short subFormat;
};
struct wave_header
......
......@@ -21,7 +21,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
//#define PREPARE_EACH
#define _CRT_SECURE_NO_DEPRECATE
......
......@@ -22,7 +22,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include <stdlib.h>
#include <stdio.h>
......
......@@ -21,7 +21,11 @@
* along with GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
********************************************************************
last mod: $Id$
********************************************************************/
#include "ao.h"
#include <stdio.h>
......
/*
* $Id: ao_dsound.c,v 1.1 2001/09/05 19:28:07 cwolf Exp $
* $Id$
* $Name: $
*
* Skeleton DirectSound plugin, just a place holder until test code
......
/* $Id: ao_pulse.c 36 2006-07-14 00:05:13Z lennart $ */
/* $Id$ */
/***
This file is part of libao-pulse.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment