4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
30 #pragma ident "%Z%%M% %I% %E% SMI"
33 * Contains the audio files information for cdrw.
40 #include <sys/types.h>
44 uint32_t total_chunk_size
;
51 uint32_t bytes_per_second
;
53 uint16_t bits_per_sample
;
59 #define PRE_DEF_WAV_HDR { 'R', 'I', 'F', 'F', 0, 0, 0, 0, \
60 'W', 'A', 'V', 'E', 'f', 'm', 't', ' ', \
61 0x10, 0, 0, 0, 1, 0, 2, 0, \
62 0x44, 0xac, 0, 0, 0x10, 0xb1, 2, 0, \
63 4, 0, 0x10, 0, 'd', 'a', 't', 'a', \
65 #define PRE_DEF_WAV_HDR_LEN 44
67 #define PRE_DEF_AU_HDR { '.', 's', 'n', 'd', 0, 0, 0, 0x28, \
68 0, 0, 0, 0, 0, 0, 0, 3, \
69 0, 0, 0xac, 0x44, 0, 0, 0, 2, \
70 0x43, 0x44, 0x20, 0x41, 0x75, 0x64, 0x69, \
71 0x6f, 0, 0, 0, 0, 0, 0, 0, 0 }
72 #define PRE_DEF_AU_HDR_LEN 40