doom: minor code cleanup (replace magic constant with an existing define)

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit be1e0748008775cadda729f5e8fc2a7ff99bef2d
Author: Solomon Peachy <[email protected]>
Date:   Tue Mar 3 12:26:00 2026 -0500

    doom:  minor code cleanup (replace magic constant with an existing define)
    
    Change-Id: I39dd9accb0bb116c0c23035b75b7be141a236c01

diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c
index 68fb8bdc6c..3581b0e301 100644
--- a/apps/plugins/doom/i_sound.c
+++ b/apps/plugins/doom/i_sound.c
@@ -462,7 +462,7 @@ void get_more(const void** start, size_t* size)
    I_UpdateSound(); // Force sound update
 
    *start = mixbuffer;
-   *size = SAMPLECOUNT*2*sizeof(short);
+   *size = MIXBUFFERSIZE*sizeof(short);
 }
 
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.