diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-12-18 16:30:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-18 16:30:02 +0100 |
| commit | b12b716a9e54c4f1892795a136d6ffeb088ff001 (patch) | |
| tree | 5888e4a77b207f24ccd9ad148d1c74e9c33400e9 /examples/sound/cdstream | |
| parent | 77306e187ef1a7ad5d3508ae9acb38edc5b68255 (diff) | |
| parent | a3359c0e7d85bf4752cda3b00892ecd5ef691077 (diff) | |
| download | psn00bsdk-b12b716a9e54c4f1892795a136d6ffeb088ff001.tar.gz | |
Merge pull request #68 from spicyjpeg/bugfix
Bugfixes, psxcd rewrite, psxgpu and CMake tweaks (v0.22)
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 |
