| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/audio/stymulator/files/ |
Upload File : |
--- stsoundlib/digidrum.cpp.orig 2016-07-26 16:04:42 UTC
+++ stsoundlib/digidrum.cpp
@@ -30,6 +30,7 @@
-----------------------------------------------------------------------------*/
#include "YmTypes.h"
+#include "digidrum.h"
static ymu8 sample00[631]={
0xCC,0x84,0xB4,0x70,0x90,0x94,0x70,0x80,0x80,0xAC,
@@ -2565,7 +2566,7 @@ static ymu8 sample39[656]={
0x80,0x80,0x80,0x80,0x80,0x80,};
/***********************************************************/
-ymu8 *sampleAdress[40] = {
+ymu8 *sampleAdress[MAX_DIGIDRUM] = {
sample00,sample01,sample02,sample03,sample04,sample05,sample06,sample07,
sample08,sample09,sample10,sample11,sample12,sample13,sample14,sample15,
sample16,sample17,sample18,sample19,sample20,sample21,sample22,sample23,
@@ -2574,7 +2575,7 @@ ymu8 *sampleAdress[40] = {
/***********************************************************/
-ymu32 sampleLen[40] = {
+ymu32 sampleLen[MAX_DIGIDRUM] = {
631, 631, 490, 490, 699, 505, 727, 480,
2108, 4231, 378, 1527, 258, 258, 451, 1795,
271, 633, 1379, 147, 139, 85, 150, 507,