2011-02-15 19:05:21 +00:00
|
|
|
|
namespace BizHawk.MultiClient
|
|
|
|
|
{
|
|
|
|
|
partial class SoundConfig
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2011-09-10 21:35:17 +00:00
|
|
|
|
this.Cancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.OK = new System.Windows.Forms.Button();
|
|
|
|
|
this.SoundOnCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.MuteFrameAdvance = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.SoundVolGroup = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.SoundVolBar = new System.Windows.Forms.TrackBar();
|
|
|
|
|
this.SoundVolNumeric = new System.Windows.Forms.NumericUpDown();
|
2012-10-01 15:20:41 +00:00
|
|
|
|
this.ThrottlecheckBox = new System.Windows.Forms.CheckBox();
|
2013-06-02 00:49:40 +00:00
|
|
|
|
this.listBoxSoundDevices = new System.Windows.Forms.ListBox();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
2011-09-10 21:35:17 +00:00
|
|
|
|
this.SoundVolGroup.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.SoundVolBar)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.SoundVolNumeric)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// Cancel
|
|
|
|
|
//
|
|
|
|
|
this.Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
2013-06-02 00:49:40 +00:00
|
|
|
|
this.Cancel.Location = new System.Drawing.Point(317, 209);
|
2011-09-10 21:35:17 +00:00
|
|
|
|
this.Cancel.Name = "Cancel";
|
|
|
|
|
this.Cancel.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.Cancel.TabIndex = 0;
|
|
|
|
|
this.Cancel.Text = "&Cancel";
|
|
|
|
|
this.Cancel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
|
|
|
|
|
//
|
|
|
|
|
// OK
|
|
|
|
|
//
|
|
|
|
|
this.OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
sound api changes. added a new ISyncSoundProvider, which works similarly to ISoundProvider except the source (not the sink) determines the number of samples to process. Added facilities to metaspu, dcfilter, speexresampler to work with ISyncSoundProvider. Add ISyncSoundProvider to IEmulator. All IEmulators must provide sync sound, but they need not provide async sound. When async is needed and an IEmulator doesn't provide it, the frontend will wrap it in a vecna metaspu. SNES, GB changed to provide sync sound only. All other emulator cores mostly unchanged; they just provide stub fakesync alongside async, for now. For the moment, the only use of the sync sound is for realtime audio throttling, where it works and sounds quite nice. In the future, sync sound will be supported for AV dumping as well.
2012-10-11 00:44:59 +00:00
|
|
|
|
this.OK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
2013-06-02 00:49:40 +00:00
|
|
|
|
this.OK.Location = new System.Drawing.Point(236, 209);
|
2011-09-10 21:35:17 +00:00
|
|
|
|
this.OK.Name = "OK";
|
|
|
|
|
this.OK.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.OK.TabIndex = 1;
|
|
|
|
|
this.OK.Text = "&Ok";
|
|
|
|
|
this.OK.UseVisualStyleBackColor = true;
|
|
|
|
|
this.OK.Click += new System.EventHandler(this.OK_Click);
|
|
|
|
|
//
|
|
|
|
|
// SoundOnCheckBox
|
|
|
|
|
//
|
|
|
|
|
this.SoundOnCheckBox.AutoSize = true;
|
|
|
|
|
this.SoundOnCheckBox.Location = new System.Drawing.Point(147, 12);
|
|
|
|
|
this.SoundOnCheckBox.Name = "SoundOnCheckBox";
|
|
|
|
|
this.SoundOnCheckBox.Size = new System.Drawing.Size(74, 17);
|
|
|
|
|
this.SoundOnCheckBox.TabIndex = 2;
|
|
|
|
|
this.SoundOnCheckBox.Text = "Sound On";
|
|
|
|
|
this.SoundOnCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
this.SoundOnCheckBox.CheckedChanged += new System.EventHandler(this.SoundOnCheckBox_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// MuteFrameAdvance
|
|
|
|
|
//
|
|
|
|
|
this.MuteFrameAdvance.AutoSize = true;
|
|
|
|
|
this.MuteFrameAdvance.Location = new System.Drawing.Point(147, 35);
|
|
|
|
|
this.MuteFrameAdvance.Name = "MuteFrameAdvance";
|
|
|
|
|
this.MuteFrameAdvance.Size = new System.Drawing.Size(128, 17);
|
|
|
|
|
this.MuteFrameAdvance.TabIndex = 3;
|
|
|
|
|
this.MuteFrameAdvance.Text = "Mute Frame Advance";
|
|
|
|
|
this.MuteFrameAdvance.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// SoundVolGroup
|
|
|
|
|
//
|
|
|
|
|
this.SoundVolGroup.Controls.Add(this.SoundVolBar);
|
|
|
|
|
this.SoundVolGroup.Controls.Add(this.SoundVolNumeric);
|
|
|
|
|
this.SoundVolGroup.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
this.SoundVolGroup.Name = "SoundVolGroup";
|
|
|
|
|
this.SoundVolGroup.Size = new System.Drawing.Size(90, 219);
|
|
|
|
|
this.SoundVolGroup.TabIndex = 4;
|
|
|
|
|
this.SoundVolGroup.TabStop = false;
|
|
|
|
|
this.SoundVolGroup.Text = "Volume";
|
|
|
|
|
//
|
|
|
|
|
// SoundVolBar
|
|
|
|
|
//
|
|
|
|
|
this.SoundVolBar.LargeChange = 10;
|
|
|
|
|
this.SoundVolBar.Location = new System.Drawing.Point(23, 23);
|
|
|
|
|
this.SoundVolBar.Maximum = 100;
|
|
|
|
|
this.SoundVolBar.Name = "SoundVolBar";
|
|
|
|
|
this.SoundVolBar.Orientation = System.Windows.Forms.Orientation.Vertical;
|
|
|
|
|
this.SoundVolBar.Size = new System.Drawing.Size(42, 164);
|
|
|
|
|
this.SoundVolBar.TabIndex = 1;
|
|
|
|
|
this.SoundVolBar.TickFrequency = 10;
|
|
|
|
|
this.SoundVolBar.Scroll += new System.EventHandler(this.trackBar1_Scroll);
|
|
|
|
|
//
|
|
|
|
|
// SoundVolNumeric
|
|
|
|
|
//
|
|
|
|
|
this.SoundVolNumeric.Location = new System.Drawing.Point(16, 190);
|
|
|
|
|
this.SoundVolNumeric.Name = "SoundVolNumeric";
|
|
|
|
|
this.SoundVolNumeric.Size = new System.Drawing.Size(59, 20);
|
|
|
|
|
this.SoundVolNumeric.TabIndex = 0;
|
|
|
|
|
this.SoundVolNumeric.ValueChanged += new System.EventHandler(this.SoundVolNumeric_ValueChanged);
|
|
|
|
|
//
|
2012-10-01 15:20:41 +00:00
|
|
|
|
// ThrottlecheckBox
|
|
|
|
|
//
|
|
|
|
|
this.ThrottlecheckBox.AutoSize = true;
|
|
|
|
|
this.ThrottlecheckBox.Location = new System.Drawing.Point(147, 58);
|
|
|
|
|
this.ThrottlecheckBox.Name = "ThrottlecheckBox";
|
|
|
|
|
this.ThrottlecheckBox.Size = new System.Drawing.Size(96, 17);
|
|
|
|
|
this.ThrottlecheckBox.TabIndex = 5;
|
|
|
|
|
this.ThrottlecheckBox.Text = "Sound Throttle";
|
|
|
|
|
this.ThrottlecheckBox.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
2013-06-02 00:49:40 +00:00
|
|
|
|
// listBoxSoundDevices
|
|
|
|
|
//
|
|
|
|
|
this.listBoxSoundDevices.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.listBoxSoundDevices.FormattingEnabled = true;
|
|
|
|
|
this.listBoxSoundDevices.Location = new System.Drawing.Point(108, 108);
|
|
|
|
|
this.listBoxSoundDevices.Name = "listBoxSoundDevices";
|
|
|
|
|
this.listBoxSoundDevices.Size = new System.Drawing.Size(284, 95);
|
|
|
|
|
this.listBoxSoundDevices.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(108, 92);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(78, 13);
|
|
|
|
|
this.label1.TabIndex = 7;
|
|
|
|
|
this.label1.Text = "Sound Device:";
|
|
|
|
|
//
|
2011-09-10 21:35:17 +00:00
|
|
|
|
// SoundConfig
|
|
|
|
|
//
|
|
|
|
|
this.AcceptButton = this.OK;
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.CancelButton = this.Cancel;
|
2013-06-02 00:49:40 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(404, 244);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Controls.Add(this.listBoxSoundDevices);
|
2012-10-01 15:20:41 +00:00
|
|
|
|
this.Controls.Add(this.ThrottlecheckBox);
|
2011-09-10 21:35:17 +00:00
|
|
|
|
this.Controls.Add(this.SoundVolGroup);
|
|
|
|
|
this.Controls.Add(this.MuteFrameAdvance);
|
|
|
|
|
this.Controls.Add(this.SoundOnCheckBox);
|
|
|
|
|
this.Controls.Add(this.OK);
|
|
|
|
|
this.Controls.Add(this.Cancel);
|
|
|
|
|
this.MinimumSize = new System.Drawing.Size(279, 259);
|
|
|
|
|
this.Name = "SoundConfig";
|
|
|
|
|
this.ShowIcon = false;
|
|
|
|
|
this.Text = "Sound Configuration";
|
|
|
|
|
this.Load += new System.EventHandler(this.SoundConfig_Load);
|
|
|
|
|
this.SoundVolGroup.ResumeLayout(false);
|
|
|
|
|
this.SoundVolGroup.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.SoundVolBar)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.SoundVolNumeric)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
2011-02-15 19:05:21 +00:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2011-02-15 20:18:12 +00:00
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button Cancel;
|
|
|
|
|
private System.Windows.Forms.Button OK;
|
|
|
|
|
private System.Windows.Forms.CheckBox SoundOnCheckBox;
|
|
|
|
|
private System.Windows.Forms.CheckBox MuteFrameAdvance;
|
2011-05-25 01:33:54 +00:00
|
|
|
|
private System.Windows.Forms.GroupBox SoundVolGroup;
|
2011-05-23 21:31:29 +00:00
|
|
|
|
private System.Windows.Forms.NumericUpDown SoundVolNumeric;
|
|
|
|
|
private System.Windows.Forms.TrackBar SoundVolBar;
|
2012-10-01 15:20:41 +00:00
|
|
|
|
private System.Windows.Forms.CheckBox ThrottlecheckBox;
|
2013-06-02 00:49:40 +00:00
|
|
|
|
private System.Windows.Forms.ListBox listBoxSoundDevices;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
2011-02-15 19:05:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|