notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
32x: preliminary PWM implementation. 32x opts in menu
[picodrive.git]
/
pico
/
sound
/
sound.c
diff --git
a/pico/sound/sound.c
b/pico/sound/sound.c
index
6e0db26
..
fbb942a
100644
(file)
--- a/
pico/sound/sound.c
+++ b/
pico/sound/sound.c
@@
-356,6
+356,9
@@
static int PsndRender(int offset, int length)
cdda_raw_update(buf32, length);
\r
}
\r
\r
+ if ((PicoAHW & PAHW_32X) && (PicoOpt & POPT_EN_PWM))
\r
+ p32x_pwm_update(buf32, length, stereo);
\r
+
\r
// convert + limit to normal 16bit output
\r
PsndMix_32_to_16l(PsndOut+offset, buf32, length);
\r
\r