Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118812
Collapse All | Expand All

(-)bplaysrc/fmtheaders.h.old (-15 / +16 lines)
Lines 2-8 Link Here
2
#define _FMTHEADERS_H	1
2
#define _FMTHEADERS_H	1
3
3
4
#include <sys/types.h>
4
#include <sys/types.h>
5
5
#include <asm/types.h>
6
/* Definitions for .VOC files */
6
/* Definitions for .VOC files */
7
7
8
#define VOC_MAGIC	"Creative Voice File\032"
8
#define VOC_MAGIC	"Creative Voice File\032"
Lines 51-71 Link Here
51
   it works on all WAVE-file I have
51
   it works on all WAVE-file I have
52
*/
52
*/
53
typedef struct wavhead {
53
typedef struct wavhead {
54
  u_long	main_chunk;	/* 'RIFF' */
54
    __u32 main_chunk;           /* 'RIFF' */
55
  u_long	length;		/* Length of rest of file */
55
    __u32 length;               /* Length of rest of file */
56
  u_long	chunk_type;	/* 'WAVE' */
56
    __u32 chunk_type;           /* 'WAVE' */
57
57
58
  u_long	sub_chunk;	/* 'fmt ' */
58
    __u32 sub_chunk;            /* 'fmt ' */
59
  u_long	sc_len;		/* length of sub_chunk, =16 (rest of chunk) */
59
    __u32 sc_len;               /* length of sub_chunk, =16 (rest of chunk) */
60
  u_short	format;		/* should be 1 for PCM-code */
60
    u_short format;             /* should be 1 for PCM-code */
61
  u_short	modus;		/* 1 Mono, 2 Stereo */
61
    u_short modus;              /* 1 Mono, 2 Stereo */
62
  u_long	sample_fq;	/* frequence of sample */
62
    __u32 sample_fq;            /* frequence of sample */
63
  u_long	byte_p_sec;
63
    __u32 byte_p_sec;
64
  u_short	byte_p_spl;	/* samplesize; 1 or 2 bytes */
64
    u_short byte_p_spl;         /* samplesize; 1 or 2 bytes */
65
  u_short	bit_p_spl;	/* 8, 12 or 16 bit */ 
65
    u_short bit_p_spl;          /* 8, 12 or 16 bit */
66
67
    __u32 data_chunk;           /* 'data' */
68
    __u32 data_length;          /* samplecount (lenth of rest of block?) */
66
69
67
  u_long	data_chunk;	/* 'data' */
68
  u_long	data_length;	/* samplecount (lenth of rest of block?)*/
69
} wavhead;
70
} wavhead;
70
71
71
#endif
72
#endif

Return to bug 118812