diff options
author | sanine <sanine.not@pm.me> | 2022-08-31 11:51:54 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-31 11:51:54 -0500 |
commit | 54351358e17b36212872313f4a820d59f14fdf12 (patch) | |
tree | ecbbf34f0d2958600956c485d3f1739279b7ee81 /src/sound.c | |
parent | b4db9391540442f9708388731d5bcd6fc59b6f5c (diff) |
add channel sound loading
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound.c b/src/sound.c index 36c1e5b..7296578 100644 --- a/src/sound.c +++ b/src/sound.c @@ -8,6 +8,7 @@ int sound_copy(struct mossrose_sound_t *dest, struct mossrose_sound_t *src) { sound_free_audio(dest); dest->len = src->len; + dest->mono = src->mono; /* left channel */ if (src->left != NULL) { |