diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-16 18:49:56 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-16 18:49:56 +0400 |
commit | fe693b4631b604e502cfd40078a1fcad9e03dc58 (patch) | |
tree | 45cdc8065054bae70cf1c6621ed483b89c2fa04f | |
parent | 5ca362c4224ef9254477ead5696cc61cbac273cc (diff) |
Revert overaggressive parameter removal: Main struct is used in audio when Jack support is enabled.
-rw-r--r-- | source/blender/blenkernel/BKE_sound.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/sound.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h index fb2ea4c1ca9..09cea572deb 100644 --- a/source/blender/blenkernel/BKE_sound.h +++ b/source/blender/blenkernel/BKE_sound.h @@ -40,7 +40,7 @@ struct Sequence; void sound_init_once(); -void sound_init(void); +void sound_init(struct Main *main); void sound_exit(); diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c index bf8e2d348ac..ca1fd80b406 100644 --- a/source/blender/blenkernel/intern/sound.c +++ b/source/blender/blenkernel/intern/sound.c @@ -79,7 +79,7 @@ void sound_init_once() AUD_initOnce(); } -void sound_init(void) +void sound_init(struct Main *bmain) { AUD_DeviceSpecs specs; int device, buffersize; |