Alper Nebi Yasak 
							
						 
					 
					
						
						
							
						
						297fd4f2ef 
					 
					
						
						
							
							AECM: MIPS: Use uintptr_t for pointer arithmetic  
						
						... 
						
						
						
						Trying to compile the MIPS-specific AECM audio processing file for
mips64el on Debian results in the following errors:
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc: In function ‘int webrtc::WebRtcAecm_ProcessBlock(AecmCore*, const int16_t*, const int16_t*, const int16_t*, int16_t*)’:
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:955:30: error: cast from ‘int16_t*’ {aka ‘short int*’} to ‘uint32_t’ {aka ‘unsigned int’} loses precision [-fpermissive]
    955 |   int16_t* fft = (int16_t*)(((uint32_t)fft_buf + 31) & ~31);
        |                              ^~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:955:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    955 |   int16_t* fft = (int16_t*)(((uint32_t)fft_buf + 31) & ~31);
        |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:956:36: error: cast from ‘int32_t*’ {aka ‘int*’} to ‘uint32_t’ {aka ‘unsigned int’} loses precision [-fpermissive]
    956 |   int32_t* echoEst32 = (int32_t*)(((uint32_t)echoEst32_buf + 31) & ~31);
        |                                    ^~~~~~~~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:956:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    956 |   int32_t* echoEst32 = (int32_t*)(((uint32_t)echoEst32_buf + 31) & ~31);
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:957:40: error: cast from ‘int32_t*’ {aka ‘int*’} to ‘uint32_t’ {aka ‘unsigned int’} loses precision [-fpermissive]
    957 |   ComplexInt16* dfw = (ComplexInt16*)(((uint32_t)dfw_buf + 31) & ~31);
        |                                        ^~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:957:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    957 |   ComplexInt16* dfw = (ComplexInt16*)(((uint32_t)dfw_buf + 31) & ~31);
        |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:958:40: error: cast from ‘int32_t*’ {aka ‘int*’} to ‘uint32_t’ {aka ‘unsigned int’} loses precision [-fpermissive]
    958 |   ComplexInt16* efw = (ComplexInt16*)(((uint32_t)efw_buf + 31) & ~31);
        |                                        ^~~~~~~~~~~~~~~~~
  ../webrtc/modules/audio_processing/aecm/aecm_core_mips.cc:958:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    958 |   ComplexInt16* efw = (ComplexInt16*)(((uint32_t)efw_buf + 31) & ~31);
        |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Presumably, this file was written for 32-bit MIPS so the author used
uint32_t to do pointer arithmetic over these arrays. Fix the errors by
using uintptr_t to work with pointers.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com > 
						
						
					 
					
						2024-12-30 18:11:05 +00:00 
						 
				 
			
				
					
						
							
							
								Arun Raghavan 
							
						 
					 
					
						
						
							
						
						c6abf6cd3f 
					 
					
						
						
							
							Bump to WebRTC M120 release  
						
						... 
						
						
						
						Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone.
We're continuing to carry iSAC even though it's gone upstream, but maybe
we'll want to drop that soon. 
						
						
					 
					
						2024-12-24 11:05:39 -05:00 
						 
				 
			
				
					
						
							
							
								Arun Raghavan 
							
						 
					 
					
						
						
							
						
						bcec8b0b21 
					 
					
						
						
							
							Update to current webrtc library  
						
						... 
						
						
						
						This is from the upstream library commit id
3326535126e435f1ba647885ce43a8f0f3d317eb, corresponding to Chromium
88.0.4290.1. 
						
						
					 
					
						2020-10-23 13:30:23 -04:00 
						 
				 
			
				
					
						
							
							
								Arun Raghavan 
							
						 
					 
					
						
						
							
						
						34abadd258 
					 
					
						
						
							
							Update code to current Chromium master  
						
						... 
						
						
						
						This corresponds to:
Chromium: 6555f9456074c0c0e5f7713564b978588ac04a5d
webrtc: c8b569e0a7ad0b369e15f0197b3a558699ec8efa 
						
						
					 
					
						2015-11-04 13:11:30 +05:30 
						 
				 
			
				
					
						
							
							
								Arun Raghavan 
							
						 
					 
					
						
						
							
						
						753eada3aa 
					 
					
						
						
							
							Update audio_processing module  
						
						... 
						
						
						
						Corresponds to upstream commit 524e9b043e7e86fd72353b987c9d5f6a1ebf83e1
Update notes:
 * Pull in third party license file
 * Replace .gypi files with BUILD.gn to keep track of what changes
   upstream
 * Bunch of new filse pulled in as dependencies
 * Won't build yet due to changes needed on top of these 
						
						
					 
					
						2015-10-15 16:18:45 +05:30 
						 
				 
			
				
					
						
							
							
								Arun Raghavan 
							
						 
					 
					
						
						
							
						
						c4fb4e38de 
					 
					
						
						
							
							Update common_audio  
						
						... 
						
						
						
						Corresponds to upstream commit 524e9b043e7e86fd72353b987c9d5f6a1ebf83e1
Update notes:
 * Moved src/ to webrtc/ to easily diff against the third_party/webrtc
   in the chromium tree
 * ARM/NEON/MIPS support is not yet hooked up
 * Tests have not been copied 
						
						
					 
					
						2015-10-15 16:18:25 +05:30