aboutsummaryrefslogtreecommitdiff
path: root/examples/sound/cdstream
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-12-18 16:05:43 +0100
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-12-18 16:05:43 +0100
commitb58a37bdac753ceace35761ef474c198a3f18e12 (patch)
treef7747c222e47479b2b39ad04b39b82d991ae0f0a /examples/sound/cdstream
parentd84bc4939607442e41888521939ef10908c87ce3 (diff)
downloadpsn00bsdk-b58a37bdac753ceace35761ef474c198a3f18e12.tar.gz
Clean up MDEC and sound examples
Diffstat (limited to 'examples/sound/cdstream')
-rw-r--r--examples/sound/cdstream/main.c4
-rw-r--r--examples/sound/cdstream/stream.vagbin4646912 -> 4687872 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/sound/cdstream/main.c b/examples/sound/cdstream/main.c
index 636ef10..324abb2 100644
--- a/examples/sound/cdstream/main.c
+++ b/examples/sound/cdstream/main.c
@@ -308,8 +308,8 @@ void start_stream(void) {
for (int i = 0; i < NUM_CHANNELS; i++) {
SPU_CH_ADDR(i) = getSPUAddr(str_ctx.spu_addr + str_ctx.buffer_size * i);
SPU_CH_FREQ(i) = getSPUSampleRate(str_ctx.sample_rate);
- SPU_CH_ADSR1(i) = 0x80ff;
- SPU_CH_ADSR2(i) = 0x1fee;
+ SPU_CH_ADSR1(i) = 0x00ff;
+ SPU_CH_ADSR2(i) = 0x0000;
}
// Unmute the channels and route them for stereo output. You'll want to
diff --git a/examples/sound/cdstream/stream.vag b/examples/sound/cdstream/stream.vag
index a6faf74..aab82ba 100644
--- a/examples/sound/cdstream/stream.vag
+++ b/examples/sound/cdstream/stream.vag
Binary files differ