Mercurial > audlegacy-plugins
comparison src/filewriter/vorbis.c @ 1978:fa9f85cebade
s/vfs_/aud_vfs_/g
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 07 Oct 2007 00:25:33 -0500 |
parents | 5fa26178eaef |
children | b8da6a0b0da2 |
comparison
equal
deleted
inserted
replaced
1977:5a6b60ceaa0f | 1978:fa9f85cebade |
---|---|
138 while((result = ogg_stream_flush(&os, &og))) | 138 while((result = ogg_stream_flush(&os, &og))) |
139 { | 139 { |
140 if (result == 0) | 140 if (result == 0) |
141 break; | 141 break; |
142 | 142 |
143 written += vfs_fwrite(og.header, 1, og.header_len, output_file); | 143 written += aud_vfs_fwrite(og.header, 1, og.header_len, output_file); |
144 written += vfs_fwrite(og.body, 1, og.body_len, output_file); | 144 written += aud_vfs_fwrite(og.body, 1, og.body_len, output_file); |
145 } | 145 } |
146 | 146 |
147 return 1; | 147 return 1; |
148 } | 148 } |
149 | 149 |
192 while ((result = ogg_stream_pageout(&os, &og))) | 192 while ((result = ogg_stream_pageout(&os, &og))) |
193 { | 193 { |
194 if (result == 0) | 194 if (result == 0) |
195 break; | 195 break; |
196 | 196 |
197 written += vfs_fwrite(og.header, 1, og.header_len, output_file); | 197 written += aud_vfs_fwrite(og.header, 1, og.header_len, output_file); |
198 written += vfs_fwrite(og.body, 1, og.body_len, output_file); | 198 written += aud_vfs_fwrite(og.body, 1, og.body_len, output_file); |
199 } | 199 } |
200 } | 200 } |
201 } | 201 } |
202 | 202 |
203 olen += length; | 203 olen += length; |