mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 039a68373c
			
		
	
	
		039a68373c
		
	
	
	
	
		
			
			-audio is used like "-audio pa,model=sb16". It is almost as simple as -soundhw, but it reuses the -audiodev parsing machinery and attaches an audiodev to the newly-created device. The main 'feature' is that it knows about adding the codec device for model=intel-hda, and adding the audiodev to the codec device. In the future, it could be extended to support default models or builtin devices, just like -nic, or even a default backend. For now, keep it simple. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			448 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			448 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef HW_SOUNDHW_H
 | |
| #define HW_SOUNDHW_H
 | |
| 
 | |
| void pci_register_soundhw(const char *name, const char *descr,
 | |
|                           int (*init_pci)(PCIBus *bus, const char *audiodev));
 | |
| void deprecated_register_soundhw(const char *name, const char *descr,
 | |
|                                  int isa, const char *typename);
 | |
| 
 | |
| void soundhw_init(void);
 | |
| void show_valid_soundhw(void);
 | |
| void select_soundhw(const char *optarg, const char *audiodev);
 | |
| 
 | |
| #endif
 |