mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Compilation fix for the updated kernel header file...
This commit is contained in:
		
							parent
							
								
									7fc7063718
								
							
						
					
					
						commit
						9679707a00
					
				
					 1 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
					@ -583,11 +583,11 @@ static int load_iw_patch(iwffff_t *iwf, iwffff_instrument_t *instr,
 | 
				
			||||||
				gwave->format |= IWFFFF_WAVE_ROM;
 | 
									gwave->format |= IWFFFF_WAVE_ROM;
 | 
				
			||||||
				gwave->address.memory = snd_LE_to_host_32(*(((unsigned int *)wave) + 8/4));
 | 
									gwave->address.memory = snd_LE_to_host_32(*(((unsigned int *)wave) + 8/4));
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				gwave->share_id1 = iwf->share_id1;
 | 
									gwave->share_id[1] = iwf->share_id1;
 | 
				
			||||||
				gwave->share_id2 = iwf->share_id2;
 | 
									gwave->share_id[2] = iwf->share_id2;
 | 
				
			||||||
				gwave->share_id3 = iwf->share_id3;
 | 
									gwave->share_id[3] = iwf->share_id3;
 | 
				
			||||||
				gwave->share_id4 = snd_LE_to_host_32(*(((unsigned int *)wave) + 8/4));
 | 
									gwave->share_id[4] = snd_LE_to_host_32(*(((unsigned int *)wave) + 8/4));
 | 
				
			||||||
				result = load_iw_wave(iwf, gwave->share_id2, gwave->size, &gwave->address.ptr);
 | 
									result = load_iw_wave(iwf, gwave->share_id[2], gwave->size, &gwave->address.ptr);
 | 
				
			||||||
				if (result < 0) {
 | 
									if (result < 0) {
 | 
				
			||||||
					free_wave(gwave);
 | 
										free_wave(gwave);
 | 
				
			||||||
					return result;
 | 
										return result;
 | 
				
			||||||
| 
						 | 
					@ -807,10 +807,10 @@ int snd_instr_iwffff_conv_to_stream(snd_instr_iwffff_t *iwffff,
 | 
				
			||||||
			xwave = (iwffff_xwave_t *)ptr;
 | 
								xwave = (iwffff_xwave_t *)ptr;
 | 
				
			||||||
			ptr += sizeof(*xwave);
 | 
								ptr += sizeof(*xwave);
 | 
				
			||||||
			xwave->stype = IWFFFF_STRU_WAVE;
 | 
								xwave->stype = IWFFFF_STRU_WAVE;
 | 
				
			||||||
			xwave->share_id1 = snd_htoi_32(wave->share_id1);
 | 
								xwave->share_id[1] = snd_htoi_32(wave->share_id[1]);
 | 
				
			||||||
			xwave->share_id2 = snd_htoi_32(wave->share_id2);
 | 
								xwave->share_id[2] = snd_htoi_32(wave->share_id[2]);
 | 
				
			||||||
			xwave->share_id3 = snd_htoi_32(wave->share_id3);
 | 
								xwave->share_id[3] = snd_htoi_32(wave->share_id[3]);
 | 
				
			||||||
			xwave->share_id4 = snd_htoi_32(wave->share_id4);
 | 
								xwave->share_id[4] = snd_htoi_32(wave->share_id[4]);
 | 
				
			||||||
			xwave->format = snd_htoi_32(wave->format);
 | 
								xwave->format = snd_htoi_32(wave->format);
 | 
				
			||||||
			xwave->size = snd_htoi_32(wave->size);
 | 
								xwave->size = snd_htoi_32(wave->size);
 | 
				
			||||||
			xwave->start = snd_htoi_32(wave->start);
 | 
								xwave->start = snd_htoi_32(wave->start);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue