projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4db8eab
)
src/io/sink_apple_audio.c: set s->samplerate before using it
author
Paul Brossier
<piem@piem.org>
Sun, 10 Feb 2013 05:54:09 +0000
(
00:54
-0500)
committer
Paul Brossier
<piem@piem.org>
Sun, 10 Feb 2013 05:54:09 +0000
(
00:54
-0500)
src/io/sink_apple_audio.c
patch
|
blob
|
history
diff --git
a/src/io/sink_apple_audio.c
b/src/io/sink_apple_audio.c
index 9269feaa682e5b8914efa87b0f10e4319d80192a..5ae19d1e96554b48c2f3eac7a13a5b6ec747472d 100644
(file)
--- a/
src/io/sink_apple_audio.c
+++ b/
src/io/sink_apple_audio.c
@@
-52,7
+52,7
@@
struct _aubio_sink_apple_audio_t {
aubio_sink_apple_audio_t * new_aubio_sink_apple_audio(char_t * uri, uint_t samplerate) {
aubio_sink_apple_audio_t * s = AUBIO_NEW(aubio_sink_apple_audio_t);
- s->samplerate;
+ s->samplerate
= samplerate
;
s->channels = 1;
s->path = uri;
s->max_frames = MAX_SIZE;