Revision 731ba0ce hw/gus.c
b/hw/gus.c | ||
---|---|---|
58 | 58 |
QEMUSoundCard card; |
59 | 59 |
int freq; |
60 | 60 |
int pos, left, shift, irqs; |
61 |
uint16_t *mixbuf;
|
|
61 |
GUSsample *mixbuf;
|
|
62 | 62 |
uint8_t himem[1024 * 1024 + 32 + 4096]; |
63 | 63 |
int samples; |
64 | 64 |
SWVoiceOut *voice; |
... | ... | |
198 | 198 |
int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len) |
199 | 199 |
{ |
200 | 200 |
GUSState *s = opaque; |
201 |
int8_t tmpbuf[4096];
|
|
201 |
char tmpbuf[4096];
|
|
202 | 202 |
int pos = dma_pos, mode, left = dma_len - dma_pos; |
203 | 203 |
|
204 | 204 |
ldebug ("read DMA %#x %d\n", dma_pos, dma_len); |
Also available in: Unified diff