Mercurial > mplayer.hg
comparison libao2/ao_plugin.c @ 3279:d6ea11bed983
Commandline interface to ao_plugin updated according to mplayers complex parameter format and plugin pl_format finished (alpha code needs testing)
author | anders |
---|---|
date | Mon, 03 Dec 2001 14:05:02 +0000 |
parents | 1648d11fc36c |
children | ea7c1bfc4391 |
comparison
equal
deleted
inserted
replaced
3278:404cfc1a0942 | 3279:d6ea11bed983 |
---|---|
195 plugin(i++)->play(); | 195 plugin(i++)->play(); |
196 /* Send data to output */ | 196 /* Send data to output */ |
197 len=driver()->play(ao_plugin_data.data,ao_plugin_data.len,flags); | 197 len=driver()->play(ao_plugin_data.data,ao_plugin_data.len,flags); |
198 | 198 |
199 if(len!=ao_plugin_data.len) | 199 if(len!=ao_plugin_data.len) |
200 printf("Buffer over flow in sound plugin "); | 200 fprintf(stderr,"[ao_plugin] Warning under or over flow in sound plugin"); |
201 | 201 |
202 return ret_len; | 202 return ret_len; |
203 } | 203 } |
204 | 204 |
205 // return: delay in seconds between first and last sample in buffer | 205 // return: delay in seconds between first and last sample in buffer |
209 delay+=ao_plugin_data.delay_fix; | 209 delay+=ao_plugin_data.delay_fix; |
210 return delay; | 210 return delay; |
211 } | 211 } |
212 | 212 |
213 | 213 |
214 | |
215 |