mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	fix 'stop_all_notes' naming to be more consistent
This commit is contained in:
		
							parent
							
								
									976c856966
								
							
						
					
					
						commit
						d11962aeb2
					
				| @ -54,7 +54,7 @@ void process_audio_noteoff(uint8_t note) { | ||||
|     stop_note(compute_freq_for_midi_note(note)); | ||||
| } | ||||
| 
 | ||||
| void process_audio_stop_all_notes(void) { | ||||
| void process_audio_all_notes_off(void) { | ||||
|     stop_all_notes(); | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
| bool process_audio(uint16_t keycode, keyrecord_t *record); | ||||
| void process_audio_noteon(uint8_t note); | ||||
| void process_audio_noteoff(uint8_t note); | ||||
| void process_audio_stop_all_notes(void); | ||||
| void process_audio_all_notes_off(void); | ||||
| 
 | ||||
| void audio_on_user(void); | ||||
| 
 | ||||
|  | ||||
| @ -15,7 +15,7 @@ void process_midi_basic_noteoff(uint8_t note) | ||||
|     midi_send_noteoff(&midi_device, 0, note, 0); | ||||
| } | ||||
| 
 | ||||
| void process_midi_basic_stop_all_notes(void) | ||||
| void process_midi_all_notes_off(void) | ||||
| { | ||||
|     midi_send_cc(&midi_device, 0, 0x7B, 0); | ||||
| } | ||||
|  | ||||
| @ -8,7 +8,7 @@ | ||||
| #ifdef MIDI_BASIC | ||||
| void process_midi_basic_noteon(uint8_t note); | ||||
| void process_midi_basic_noteoff(uint8_t note); | ||||
| void process_midi_basic_stop_all_notes(void); | ||||
| void process_midi_all_notes_off(void); | ||||
| #endif | ||||
| 
 | ||||
| #ifdef MIDI_ADVANCED | ||||
|  | ||||
| @ -44,10 +44,10 @@ static void music_noteoff(uint8_t note) { | ||||
| 
 | ||||
| void music_all_notes_off(void) { | ||||
|     #ifdef AUDIO_ENABLE | ||||
|     process_audio_stop_all_notes(); | ||||
|     process_audio_all_notes_off(); | ||||
|     #endif | ||||
|     #if defined(MIDI_ENABLE) && defined(MIDI_BASIC) | ||||
|     process_midi_basic_stop_all_notes(); | ||||
|     process_midi_all_notes_off(); | ||||
|     #endif | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -9,7 +9,7 @@ CONSOLE_ENABLE = no         # Console for debug(+400) | ||||
| COMMAND_ENABLE = yes        # Commands for debug and configuration | ||||
| NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||||
| BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality | ||||
| MIDI_ENABLE = no            # MIDI support (+3800) | ||||
| MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config) | ||||
| AUDIO_ENABLE = no           # Audio output on port C6 | ||||
| UNICODE_ENABLE = no         # Unicode | ||||
| BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Gabriel Young
						Gabriel Young