~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/include/BIF_editsound.h

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BIF_editsound.h,v 1.4 2002/12/27 13:10:20 mein Exp $
 
2
 * $Id: BIF_editsound.h,v 1.5 2006/02/05 19:36:32 schlaile Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
37
37
struct bSample;
38
38
struct ListBase;
39
39
struct PackedFile;
 
40
struct hdaudio;
40
41
 
41
42
void sound_init_audio(void);
42
43
void sound_initialize_sounds(void);
64
65
void sound_stop_all_sounds(void);
65
66
 
66
67
void sound_set_position(void *object,
67
 
                                                struct bSound *sound,
68
 
                                                float obmatrix[4][4]);
 
68
                        struct bSound *sound,
 
69
                        float obmatrix[4][4]);
 
70
 
 
71
struct hdaudio * sound_open_hdaudio(char * name);
 
72
struct hdaudio * sound_copy_hdaudio(struct hdaudio * c);
 
73
 
 
74
long sound_hdaudio_get_duration(struct hdaudio * hdaudio, int frame_rate);
 
75
void sound_hdaudio_extract(struct hdaudio * hdaudio, 
 
76
                           short * target_buffer,
 
77
                           int sample_position /* units of target_rate */,
 
78
                           int target_rate,
 
79
                           int target_channels,
 
80
                           int nb_samples /* in target */);
 
81
                           
 
82
void sound_close_hdaudio(struct hdaudio * hdaudio);
 
83
 
 
84
 
69
85
 
70
86
#endif
71
87