summaryrefslogtreecommitdiff
path: root/src/sound.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-31 11:51:54 -0500
committersanine <sanine.not@pm.me>2022-08-31 11:51:54 -0500
commit54351358e17b36212872313f4a820d59f14fdf12 (patch)
treeecbbf34f0d2958600956c485d3f1739279b7ee81 /src/sound.c
parentb4db9391540442f9708388731d5bcd6fc59b6f5c (diff)
add channel sound loading
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c1
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) {