aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-29 17:30:56 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-29 17:30:56 +0100
commitfe42ce7f1c98947baa49427835deb5ce70470afb (patch)
treee8943ac969ccf626cdb4dc543fe1fcca3783c664 /examples
parentd60b046bf362fcc9332f463823e8d02147d516de (diff)
downloadpsn00bsdk-fe42ce7f1c98947baa49427835deb5ce70470afb.tar.gz
Fix CMake and CI bugs, set version number, update docs
Diffstat (limited to 'examples')
-rw-r--r--examples/sound/spustream/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sound/spustream/main.c b/examples/sound/spustream/main.c
index 2032df5..e268c7d 100644
--- a/examples/sound/spustream/main.c
+++ b/examples/sound/spustream/main.c
@@ -349,7 +349,7 @@ void start_stream(void) {
for (uint32_t i = 0; i < NUM_CHANNELS; i++) {
SPU_CHANNELS[i].addr = SPU_RAM_ADDR(BUFFER_START_ADDR + BUFFER_SIZE * i);
SPU_CHANNELS[i].freq = SAMPLE_RATE;
- SPU_CHANNELS[i].adsr_param = 0xdfee80ff; // or 0x9fc080ff, 0xdff18087
+ SPU_CHANNELS[i].adsr_param = 0x1fee80ff; // or 0x9fc080ff, 0xdff18087
}
// Unmute the channels and route them for stereo output. You'll want to