comparison src/miscplay.c @ 570:db376c5066a7

[xemacs-hg @ 2001-05-25 02:45:57 by martinb] inline functions cannot call alloca
author martinb
date Fri, 25 May 2001 02:45:59 +0000
parents 001628b7a5b3
children 5fd7ba8b56e7
comparison
equal deleted inserted replaced
569:9cdcb214753f 570:db376c5066a7
112 112
113 /* We need to perform some look-ahead in order to parse files in WAVE format; 113 /* We need to perform some look-ahead in order to parse files in WAVE format;
114 this might require re-partioning of the data segments if headers cross the 114 this might require re-partioning of the data segments if headers cross the
115 boundaries between two read operations. This is done in a two-step way: 115 boundaries between two read operations. This is done in a two-step way:
116 first we request a certain amount of bytes... */ 116 first we request a certain amount of bytes... */
117 static inline int waverequire(void **data,size_t *sz,size_t rq) 117 static int waverequire(void **data,size_t *sz,size_t rq)
118 { 118 {
119 int rc = 1; 119 int rc = 1;
120 120
121 if (rq > HEADERSZ) { 121 if (rq > HEADERSZ) {
122 sound_warn("Header size exceeded while parsing WAVE file"); 122 sound_warn("Header size exceeded while parsing WAVE file");