Click here to Skip to main content
15,885,216 members
Articles / Desktop Programming / Windows Forms

BSEtunes

Rate me:
Please Sign up or sign in to vote.
4.67/5 (11 votes)
24 Apr 2010CPOL4 min read 64.6K   4.3K   58  
BSEtunes is a MySQL based, full manageable, networkable single or multiuser jukebox application
using System;

namespace BSE.Platten.BO
{
	/// <summary>
	/// Zusammenfassung f�r CAudioFormat.
	/// </summary>
	public class CAudioFormat : ICloneable
	{
		#region Enumerationen
		
		public enum AudioFormat
		{
			/// <summary>
			/// Audioformat Wav
			/// </summary>
            Wav,
            /// <summary>
            /// Audioformat Mp3
            /// </summary>
			Mp3,
            /// <summary>
            /// Audioformat Wma
            /// </summary>
			Wma
		}
		
		#endregion

		#region FieldsPrivate
		
		private CAudioFormat.AudioFormat m_eUsedAudioFormat;
        private string m_strExtension;
        private string m_strFormatDescription;
		
		#endregion
		
		#region Properties
		/// <summary>
		/// Gets or sets the used audioformat
		/// </summary>
		public CAudioFormat.AudioFormat UsedAudioFormat
		{
			get {return m_eUsedAudioFormat;}
			set {m_eUsedAudioFormat = value;}
		}
        /// <summary>
        /// Gets or sets the description of the audioformat.
        /// </summary>
		public string Description
		{
			get {return m_strFormatDescription;}
			set {m_strFormatDescription = value;}
		}
		/// <summary>
        /// Gets or sets the string representing the extension part of the file.
		/// </summary>
        public string Extension
        {
            get { return m_strExtension; }
            set { m_strExtension = value; }
        }
		#endregion

		#region MethodsPublic

		public CAudioFormat()
		{
		}

		public object Clone()
		{
			CAudioFormat audioFormat = new CAudioFormat();
			audioFormat.UsedAudioFormat = this.m_eUsedAudioFormat;
			audioFormat.Description = this.m_strFormatDescription;
			
			return (object)audioFormat;
		}

		#endregion

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions