banshee r1959 - in trunk/banshee: . data/audio-profiles src src/Core/Banshee.Base src/Core/Banshee.Base/Banshee.AudioProfiles src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine src/Core/Banshee.Base/Banshee.AudioProfiles.Gui



Author: abock
Date: 2007-01-06 10:20:58 +0000 (Sat, 06 Jan 2007)
New Revision: 1959
ViewCVS link: http://svn.gnome.org/viewcvs/banshee?rev=1959&view=rev

Added:
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/ArithmeticFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/CastFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/CompareFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/Evaluator.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/EvaluatorBase.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/FunctionNode.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/FunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/Literals.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/LogicFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/Parser.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/StringFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/TreeNode.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/UtilityFunctionSet.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/VariableNode.cs
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/data/audio-profiles/aac.xml
   trunk/banshee/data/audio-profiles/flac.xml
   trunk/banshee/data/audio-profiles/mp3-lame.xml
   trunk/banshee/data/audio-profiles/mp3-xing.xml
   trunk/banshee/data/audio-profiles/vorbis.xml
   trunk/banshee/data/audio-profiles/wav.xml
   trunk/banshee/data/audio-profiles/wma.xml
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles.Gui/ProfileConfigurationDialog.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/Pipeline.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.AudioProfiles/PipelineVariable.cs
   trunk/banshee/src/Core/Banshee.Base/Banshee.Base.mdp
   trunk/banshee/src/Core/Banshee.Base/Globals.cs
   trunk/banshee/src/Core/Banshee.Base/GstMisc.cs
   trunk/banshee/src/Core/Banshee.Base/Makefile.am
   trunk/banshee/src/MonoDevelopBootstrap.mdp
Log:
2007-01-06  Aaron Bockover  <abock gnome org>

    This commit adds some incredible power to the audio profiles support.
    Profile process (i.e. GStreamer pipelines) are now defined using an
    S-Expression like language. This is a big change, but very, very well
    worth it. I will be flying and unavailable today/Jan 6, so if this commit
    breaks the build or functionality somehow, revert to the previous svn
    revision.

    * src/Core/Banshee.Base/Banshee.AudioProfiles/Pipeline.cs: Added
    SExpEngine integration to compile the pipeline process; removed
    transformation/Abakos support as it can now be done inline in S-Exp

    * src/Core/Banshee.Base/Globals.cs: Add the gst-element-is-available
    S-Exp function

    * src/Core/Banshee.Base/GstMisc.cs: Added a S-Exp function,
    gst-element-is-available, which is a S-Exp wrapper around TestPipeline;
    this S-Exp function can be used to conditionally include an element
    or pipeline piece inside of the master pipeline:

      (+ "lame" (if (gst-element-is-available "xingmux") " xingmux" ""))

    * data/audio-profiles/*.xml: Ported all the pipelines to S-Exp expressions

    * src/Core/Banshee.Base/Banshee.AudioProfiles/SExpEngine/*: The new
    SExpEngine - written in 10 hours! Probably lots of holes to fill, but
    it has a lot of built in functionality and is working for what we need
    for audio profiles; the parser could probably use some love






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]