diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_sound.h')
-rw-r--r-- | source/blender/blenkernel/BKE_sound.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h index 190b0400aff..acd4718a65a 100644 --- a/source/blender/blenkernel/BKE_sound.h +++ b/source/blender/blenkernel/BKE_sound.h @@ -1,6 +1,4 @@ -/** - * sound.h (mar-2001 nzc) - * +/* * $Id$ * * ***** BEGIN GPL LICENSE BLOCK ***** @@ -31,6 +29,12 @@ #ifndef BKE_SOUND_H #define BKE_SOUND_H +/** \file BKE_sound.h + * \ingroup bke + * \since March 2001 + * \author nzc + */ + struct PackedFile; struct bSound; struct bContext; @@ -38,16 +42,16 @@ struct ListBase; struct Main; struct Sequence; -void sound_init_once(); +void sound_init_once(void); void sound_init(struct Main *main); -void sound_exit(); +void sound_exit(void); void sound_force_device(int device); -int sound_define_from_str(char *str); +int sound_define_from_str(const char *str); -struct bSound* sound_new_file(struct Main *main, char* filename); +struct bSound* sound_new_file(struct Main *main, const char *filename); // XXX unused currently #if 0 @@ -96,4 +100,6 @@ int sound_scene_playing(struct Scene *scene); int sound_read_sound_buffer(struct bSound* sound, float* buffer, int length, float start, float end); +int sound_get_channels(struct bSound* sound); + #endif |