output/Source: reset all filters in Cancel()
This commit is contained in:
		| @@ -75,6 +75,15 @@ AudioOutputSource::Cancel() | |||||||
| { | { | ||||||
| 	current_chunk = nullptr; | 	current_chunk = nullptr; | ||||||
| 	pipe.Cancel(); | 	pipe.Cancel(); | ||||||
|  |  | ||||||
|  | 	if (replay_gain_filter_instance != nullptr) | ||||||
|  | 		replay_gain_filter_instance->Reset(); | ||||||
|  |  | ||||||
|  | 	if (other_replay_gain_filter_instance != nullptr) | ||||||
|  | 		other_replay_gain_filter_instance->Reset(); | ||||||
|  |  | ||||||
|  | 	if (filter_instance != nullptr) | ||||||
|  | 		filter_instance->Reset(); | ||||||
| } | } | ||||||
|  |  | ||||||
| void | void | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann