fn initialize(&mut self) {
		self.enabled = true;
		if self.length_counter == 0 {
			self.length_counter = 64;
		}
		self.frequency_count = (2048 - self.frequency_load) * 4;
		self.envelope_running = true;
		self.envelope_period_counter = self.envelope.period;
		self.volume = self.envelope.initial_volume;
	}
// Initializes channel by resetting all values
Initializes channel by resetting all values
Initializes channel by resetting all values
fn initialize(&mut self) {
		self.enabled = true;
		if self.length_counter == 0 {
			self.length_counter = 64;
		}
		self.frequency_count = (2048 - self.frequency_load) * 4;
		self.envelope_running = true;
		self.envelope_period_counter = self.envelope.period;
		self.volume = self.envelope.initial_volume;
	}
fn initialize ( & mut self ) { self . enabled = true ; if self . length_counter == 0 { self . length_counter = 64 ; } self . frequency_count = ( 2048 - self . frequency_load ) * 4 ; self . envelope_running = true ; self . envelope_period_counter = self . envelope . period ; self . volume = self . envelope . initial_volume ; }
Initializes channel by resetting all values
Initializes channel by resetting all values
&mut self
&mut self