Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="fmt"></param>
        public void SetSoundFormat(SndFmt fmt)
        {
            sndfmt.Channels = fmt.Channels;
            sndfmt.Freq     = fmt.Freq;

            defaultSoundFormat = false;
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="freq"></param>
        /// <param name="chans"></param>
        /// <param name="bits"></param>
        public void SetSoundFormat(int freq, int chans)
        {
            SndFmt tmp = new SndFmt();

            tmp.Channels = chans;
            tmp.Freq     = freq;

            SetSoundFormat(tmp);
        }
Beispiel #3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="freq"></param>
        /// <param name="chans"></param>
        /// <param name="bits"></param>
        public void SetSoundFormat(int freq, int chans)
        {
            SndFmt tmp = new SndFmt();

            tmp.Channels = chans;
            tmp.Freq = freq;

            SetSoundFormat(tmp);
        }
Beispiel #4
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="fmt"></param>
        public void SetSoundFormat(SndFmt fmt)
        {
            sndfmt.Channels = fmt.Channels;
            sndfmt.Freq = fmt.Freq;

            defaultSoundFormat = false;
        }