diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-12-18 16:05:43 +0100 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-12-18 16:05:43 +0100 |
| commit | b58a37bdac753ceace35761ef474c198a3f18e12 (patch) | |
| tree | f7747c222e47479b2b39ad04b39b82d991ae0f0a /examples/sound/cdstream | |
| parent | d84bc4939607442e41888521939ef10908c87ce3 (diff) | |
| download | psn00bsdk-b58a37bdac753ceace35761ef474c198a3f18e12.tar.gz | |
Clean up MDEC and sound examples
Diffstat (limited to 'examples/sound/cdstream')
| -rw-r--r-- | examples/sound/cdstream/main.c | 4 | ||||
| -rw-r--r-- | examples/sound/cdstream/stream.vag | bin | 4646912 -> 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 Binary files differindex a6faf74..aab82ba 100644 --- a/examples/sound/cdstream/stream.vag +++ b/examples/sound/cdstream/stream.vag |
