mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Mega patch:
* implement inner loops using liboil * drop "typeid" stuff * add support for channel maps * add support for seperate volumes per channel * add support for hardware mixer settings (only module-oss implements this for now) * fix a lot of types for _t suffix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@463 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									759721cbbc
								
							
						
					
					
						commit
						dd10c98241
					
				
					 114 changed files with 2584 additions and 1329 deletions
				
			
		| 
						 | 
				
			
			@ -40,8 +40,6 @@ PA_MODULE_DESCRIPTION("Sine wave generator")
 | 
			
		|||
PA_MODULE_USAGE("sink=<sink to connect to> frequency=<frequency in Hz>")
 | 
			
		||||
PA_MODULE_VERSION(PACKAGE_VERSION)
 | 
			
		||||
 | 
			
		||||
#define PA_TYPEID_SINE PA_TYPEID_MAKE('S', 'I', 'N', 'E')
 | 
			
		||||
 | 
			
		||||
struct userdata {
 | 
			
		||||
    pa_core *core;
 | 
			
		||||
    pa_module *module;
 | 
			
		||||
| 
						 | 
				
			
			@ -142,7 +140,7 @@ int pa__init(pa_core *c, pa_module*m) {
 | 
			
		|||
    calc_sine(u->memblock->data, u->memblock->length, frequency);
 | 
			
		||||
 | 
			
		||||
    snprintf(t, sizeof(t), "Sine Generator at %u Hz", frequency);
 | 
			
		||||
    if (!(u->sink_input = pa_sink_input_new(sink, PA_TYPEID_SINE, t, &ss, 0, -1)))
 | 
			
		||||
    if (!(u->sink_input = pa_sink_input_new(sink, __FILE__, t, &ss, NULL, 0, -1)))
 | 
			
		||||
        goto fail;
 | 
			
		||||
 | 
			
		||||
    u->sink_input->peek = sink_input_peek;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue