summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/cRSID/host/audio.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2022-04-13 23:34:39 +0200
committerSolomon Peachy <pizza@shaftnet.org>2023-02-07 09:19:32 -0500
commit15c0f0576e73d714a09bcc9c09e93e80e330237d (patch)
tree1aa15bb62adef07a064b4d1dc7e5af7fbbd0d9ac /lib/rbcodec/codecs/cRSID/host/audio.c
parente8135fea5a10dba25fefe991bf6bc36f351e2919 (diff)
downloadrockbox-15c0f0576e73d714a09bcc9c09e93e80e330237d.tar.gz
rockbox-15c0f0576e73d714a09bcc9c09e93e80e330237d.zip
codec: sid: split cRSID header into a public and a private header
Needed to compile cRSID as a proper library. Change-Id: I276967f46037bd65db1ff38985a781183fc26a00
Diffstat (limited to 'lib/rbcodec/codecs/cRSID/host/audio.c')
-rw-r--r--lib/rbcodec/codecs/cRSID/host/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/cRSID/host/audio.c b/lib/rbcodec/codecs/cRSID/host/audio.c
index 2e06279113..2cfd5dac0b 100644
--- a/lib/rbcodec/codecs/cRSID/host/audio.c
+++ b/lib/rbcodec/codecs/cRSID/host/audio.c
@@ -52,7 +52,7 @@ void cRSID_generateSound(cRSID_C64instance* C64instance, unsigned char *buf, uns
52#endif 52#endif
53 53
54 54
55static inline signed short cRSID_generateSample (cRSID_C64instance* C64) { //call this from custom buffer-filler 55signed short cRSID_generateSample (cRSID_C64instance* C64) { //call this from custom buffer-filler
56 static int Output; 56 static int Output;
57 Output=cRSID_emulateC64(C64); 57 Output=cRSID_emulateC64(C64);
58 if (C64->PSIDdigiMode) Output += cRSID_playPSIDdigi(C64); 58 if (C64->PSIDdigiMode) Output += cRSID_playPSIDdigi(C64);