Revision 1eec614b monitor.c
b/monitor.c | ||
---|---|---|
1371 | 1371 |
CaptureState *s; |
1372 | 1372 |
|
1373 | 1373 |
s = qemu_mallocz (sizeof (*s)); |
1374 |
if (!s) { |
|
1375 |
term_printf ("Not enough memory to add wave capture\n"); |
|
1376 |
return; |
|
1377 |
} |
|
1378 | 1374 |
|
1379 | 1375 |
freq = has_freq ? freq : 44100; |
1380 | 1376 |
bits = has_bits ? bits : 16; |
Also available in: Unified diff