s/music: fix pauld volume command

This commit is contained in:
Marcin Kurczewski 2023-10-06 23:49:48 +02:00
parent 2379a75772
commit 4403c8b77d
No known key found for this signature in database
GPG Key ID: CC65E6FD28CAE42A

View File

@ -27,6 +27,7 @@ typedef struct CDAUDIO_SPEC {
const int32_t m_CDAudioSpecCount = 2;
static struct CDAUDIO_SPEC m_CDAudioSpecs[] = {
{
// NOTE: volume control doesn't seem to work with WAV
.path = "audio/cdaudio.wav",
.audio_type = "waveaudio",
},
@ -254,7 +255,7 @@ static void S_Music_PaulD_SetVolume(int32_t volume)
}
S_Music_PaulD_Command(
NULL, 0, "setaudio " CD_ALIAS " volume to %llu", volume);
NULL, 0, "setaudio " CD_ALIAS " volume to %lu", volume);
char status_string[32];
if (!S_Music_PaulD_Command(