[ecasound] ecasoundrc changes in CVS

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [ecasound] ecasoundrc changes in CVS
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Sat Dec 08 2001 - 15:57:26 EET

Yesterday I submitted the implementation of (edi-11) to the CVS-tree, and
this has apparently caused problems for some users. I really should have
given a warning about these changes sooner, sorry about this.

So what's this about. Older ecasound versions always rewrite ~/.ecasoundrc
if it doesn't exists. Also, there is no global ecasoundrc file, just the
user-specific files. This also means that default values are encoded to
the ecasound binary - it always knows the latest and greatest default

Now the big problem with this scheme is that if there is need to change
the default, users are required to delete their ~/.ecasoundrc (or at least
the changed tag) to get the new default. In other words ecasound doesn't
know whether values in ~/.ecasoundrc are user-defined or just old
defaults. The most recent change of this kind was the new mp3 and ogg
output commands (the bitrate param).

In the current CVS-tree, all default values are removed from the compiled
binaries. Instread there's a global ecasoundrc template,
'ecasound/ecasoundrc.in' which lists all default values. When you run
'configure', it creates the final 'ecasound/ecasoundrc' (with correct
install prefix and version info). During 'make install' this file is
copied to ''{prefix}/share/ecasound/ecasoundrc'.

This solves a few problems, but also creates a few new ones. One new
problem is interaction with old ecasound versions. When you run an old
ecasound version, it always fills your ~/.ecasoundrc with old values, and
this might confuse newer ecasound versions.

Few possibly solutions:
        - rename all ecasoundrc tags (I already did this for
          'ext-*' tags)
        - add versioning of ecasoundrc files (possible, only problem
          is that user shouldn't have to specify any versions numbers
          in ~/.ecasoundrc)
        - revert (edi-11) and go back to the old scheme

 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.

New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Dec 08 2001 - 15:49:27 EET