[vorbis-dev] Re: [vorbis] ao changes

volsung at asu.edu volsung at asu.edu
Mon Aug 27 19:42:18 PDT 2001



On Mon, 27 Aug 2001, Kenneth Arnold wrote:

> On Sun, Aug 26, 2001 at 08:13:35PM -0700, volsung at asu.edu wrote:
> > The old API was designed around the principle that any output driver *could*
> > potentially be used with no options (in the ao_option sense) provided.  
> > Options are for "tweaking knobs" inside the driver and should all have a
> > sensible default value.  In the case of file output drivers--which in the old
> > API were opened with the same function as live output drivers--this meant that
> > the output filename had to be passed as an ao_option, and therefore had to
> > have a default value (like "output.wav").
> 
> How about the default file extension we discussed earlier?

Boy, you want this feature, don't you?  :)

I would rather make it another member of the ao_info struct, but that would
break the current client apps. In order to not break backward compatibility
with the current library API, I will do this by adding an ao_get_extension()
to the library and an ao_plugin_get_extension() to the plugin API (which
*will* break that API, but I don't care since I can change all the plugins
anyway).

[Aside: Adding members to a C struct destroys backward compatibility,
right?  That sounds obvious, but I just want to check.]


---
Stan Seibert

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list