File: mp3.h

package info (click to toggle)
swftools 0.9.2%2Bgit20130725-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,680 kB
  • ctags: 17,348
  • sloc: ansic: 108,712; sh: 8,494; cpp: 8,040; yacc: 2,260; lisp: 904; makefile: 601; python: 300
file content (19 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* mp3.h
   Header file for mp3.c

   Part of the swftools package.
   
   Copyright (c) 2005 Joel Yliluoma <bisqwit@iki.fi>

   This file is distributed under the GPL, see file COPYING for details */

struct MP3 {
    unsigned short  SampRate;
    unsigned char   Channels;
    unsigned int    NumFrames;
    unsigned char*  data;
    unsigned long   size;
};

int mp3_read(struct MP3*mp3, const char* filename);
void mp3_clear(struct MP3*mp3);