diff Plugins/Output/OSS/OSS.c @ 517:55dc40ff1aff trunk

[svn] Add tell_audio(AFormat *, gint *, gint *), for retrieving audio format information from an output plugin. Right now, we need this inside the core to do effects processing. Rationale: - If tell_audio() is unavailable, do not do processing. - If tell_audio() is available and there is a format mismatch, do not do processing yet -- we need to reinitialize the output port before we can do anything useful. Disk Writer and Crossfade are too fragile to make these changes to, so they do not support tell_audio yet.
author nenolod
date Thu, 26 Jan 2006 11:37:48 -0800
parents b04ce1c98b6f
children c8cf439179b8
line wrap: on
line diff
--- a/Plugins/Output/OSS/OSS.c	Thu Jan 26 11:18:52 2006 -0800
+++ b/Plugins/Output/OSS/OSS.c	Thu Jan 26 11:37:48 2006 -0800
@@ -43,6 +43,7 @@
     oss_playing,
     oss_get_output_time,
     oss_get_written_time,
+    oss_tell
 };
 
 OutputPlugin *