Advertisement
dsmitty166

Audio Config

Dec 7th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.43 KB | None | 0 0
  1. Searching 594152 files for "audio_effects.conf"
  2.  
  3. /home/david/android/eos/.repo/project-objects/device/moto/shamu.git/rr-cache/8ff1fc85b42417cacaaf82f35ba8be9458f4ea15/preimage:
  4. 48 PRODUCT_COPY_FILES += \
  5. 49 device/moto/shamu/audio_policy.conf:system/etc/audio_policy.conf \
  6. 50: device/moto/shamu/audio_effects.conf:system/etc/audio_effects.conf
  7. 51
  8. 52 PRODUCT_COPY_FILES += \
  9.  
  10. /home/david/android/eos/.repo/project-objects/device/moto/shamu.git/rr-cache/b072e85bc42514f27b4b17019b34457e44e0a191/postimage:
  11. 46 PRODUCT_COPY_FILES += \
  12. 47 device/moto/shamu/audio_policy.conf:system/etc/audio_policy.conf \
  13. 48: device/moto/shamu/audio_effects.conf:system/etc/audio_effects.conf
  14. 49
  15. 50 PRODUCT_COPY_FILES += \
  16.  
  17. /home/david/android/eos/.repo/project-objects/device/moto/shamu.git/rr-cache/b072e85bc42514f27b4b17019b34457e44e0a191/preimage:
  18. 46 PRODUCT_COPY_FILES += \
  19. 47 device/moto/shamu/audio_policy.conf:system/etc/audio_policy.conf \
  20. 48: device/moto/shamu/audio_effects.conf:system/etc/audio_effects.conf
  21. 49
  22. 50 PRODUCT_COPY_FILES += \
  23.  
  24. /home/david/android/eos/.repo/project-objects/dsmitty166/proprietary_vendor_motorola_shamu.git/rr-cache/8bb899e38823584f31963ca5981e1a3a51b338d2/preimage:
  25. 97 <<<<<<<
  26. 98 =======
  27. 99: vendor/moto/shamu/proprietary/vendor/etc/audio_effects.conf:system/vendor/etc/audio_effects.conf \
  28. 100 >>>>>>>
  29. 101 vendor/moto/shamu/proprietary/vendor/firmware/a420_pfp.fw:system/vendor/firmware/a420_pfp.fw \
  30.  
  31. /home/david/android/eos/build/target/product/generic_no_telephony.mk:
  32. 47
  33. 48 PRODUCT_COPY_FILES := \
  34. 49: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
  35. 50
  36. 51 PRODUCT_PROPERTY_OVERRIDES += \
  37.  
  38. /home/david/android/eos/build/target/product/sdk_base.mk:
  39. 67 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
  40. 68 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
  41. 69: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
  42. 70 hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
  43. 71
  44.  
  45. /home/david/android/eos/device/asus/flo/device-common.mk:
  46. 182 libqcomvoiceprocessingdescriptors
  47. 183 PRODUCT_COPY_FILES += \
  48. 184: device/asus/flo/audio_effects.conf:system/vendor/etc/audio_effects.conf
  49. 185
  50. 186 # Monitor device rotation for speaker channel swap
  51.  
  52. /home/david/android/eos/device/generic/armv7-a-neon/mini_common.mk:
  53. 65
  54. 66 PRODUCT_COPY_FILES += \
  55. 67: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
  56. 68 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
  57. 69 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
  58.  
  59. /home/david/android/eos/device/generic/mini-emulator-arm64/mini_emulator_common.mk:
  60. 44 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
  61. 45 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
  62. 46: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
  63. 47 hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf \
  64. 48 device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
  65.  
  66. /home/david/android/eos/device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk:
  67. 44 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
  68. 45 frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
  69. 46: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
  70. 47 hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf \
  71. 48 device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
  72.  
  73. /home/david/android/eos/device/google/atv/products/atv_base.mk:
  74. 87
  75. 88 PRODUCT_COPY_FILES += \
  76. 89: frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
  77. 90
  78. 91 # Enable frame-exact AV sync
  79.  
  80. /home/david/android/eos/device/lge/hammerhead/device.mk:
  81. 157
  82. 158 PRODUCT_COPY_FILES += \
  83. 159: device/lge/hammerhead/audio_effects.conf:system/vendor/etc/audio_effects.conf
  84. 160
  85. 161 PRODUCT_PACKAGES += \
  86.  
  87. /home/david/android/eos/device/lge/mako/device.mk:
  88. 175 PRODUCT_PACKAGES += libqcomvoiceprocessing
  89. 176 PRODUCT_COPY_FILES += \
  90. 177: device/lge/mako/audio_effects.conf:system/vendor/etc/audio_effects.conf
  91. 178
  92. 179 PRODUCT_PACKAGES += \
  93.  
  94. /home/david/android/eos/device/moto/shamu/device.mk:
  95. 46 PRODUCT_COPY_FILES += \
  96. 47 device/moto/shamu/audio_policy.conf:system/etc/audio_policy.conf \
  97. 48: device/moto/shamu/audio_effects.conf:system/etc/audio_effects.conf
  98. 49
  99. 50 PRODUCT_COPY_FILES += \
  100.  
  101. /home/david/android/eos/device/samsung/manta/device.mk:
  102. 93 PRODUCT_PACKAGES += libaudience_voicefx
  103. 94 PRODUCT_COPY_FILES += \
  104. 95: device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf
  105. 96
  106. 97 # BCM47511 GPS
  107.  
  108. /home/david/android/eos/docs/source.android.com/src/devices/audio_implement.jd:
  109. 213
  110. 214 <p>The default pre-processing effects that are applied for each <code>AudioSource</code> are
  111. 215: specified in the <code>/system/etc/audio_effects.conf</code> file. To specify
  112. 216: your own default effects for every <code>AudioSource</code>, create a <code>/system/vendor/etc/audio_effects.conf</code> file
  113. 217 and specify any pre-processing effects that you need to turn on. For an example,
  114. 218: see the implementation for the Nexus 10 in <code>device/samsung/manta/audio_effects.conf</code></p>
  115. 219
  116. 220 <p class="warning"><strong>Warning:</strong> For the <code>VOICE_RECOGNITION</code> use case, do not enable
  117. 221 the noise suppression pre-processing effect. It should not be turned on by default when recording from this audio source,
  118. 222: and you should not enable it in your own audio_effects.conf file. Turning on the effect by default will cause the device to fail
  119. 223 the <a href="/compatibility/index.html">compatibility requirement</a> regardless of whether this was on by default due to
  120. 224 configuration file, or the audio HAL implementation's default behavior.</p>
  121. ...
  122. 280
  123. 281 <li>Android documentation for <a href="http://developer.android.com/reference/android/media/audiofx/NoiseSuppressor.html">Noise Suppression audio effect</a></li>
  124. 282: <li><code>device/samsung/manta/audio_effects.conf</code> file for the Nexus 10</li>
  125. 283 </ul>
  126. 284
  127.  
  128. /home/david/android/eos/frameworks/av/services/audiopolicy/AudioPolicyEffects.h:
  129. 34 // AudioPolicyEffects class
  130. 35 // This class will manage all effects attached to input and output streams in
  131. 36: // AudioPolicyService as configured in audio_effects.conf.
  132. 37 class AudioPolicyEffects : public RefBase
  133. 38 {
  134. ..
  135. 40 public:
  136. 41
  137. 42: // The constructor will parse audio_effects.conf
  138. 43 // First it will look whether vendor specific file exists,
  139. 44 // otherwise it will parse the system default file.
  140. ..
  141. 86
  142. 87 // class to store the description of an effects and its parameters
  143. 88: // as defined in audio_effects.conf
  144. 89 class EffectDesc {
  145. 90 public:
  146. ..
  147. 155 audio_stream_type_t streamNameToEnum(const char *name);
  148. 156
  149. 157: // Parse audio_effects.conf
  150. 158 status_t loadAudioEffectConfig(const char *path);
  151. 159
  152.  
  153. /home/david/android/eos/frameworks/av/services/audiopolicy/AudioPolicyService.h:
  154. 497 DefaultKeyedVector< uid_t, sp<NotificationClient> > mNotificationClients;
  155. 498
  156. 499: // Manage all effects configured in audio_effects.conf
  157. 500 sp<AudioPolicyEffects> mAudioPolicyEffects;
  158. 501 audio_mode_t mPhoneState;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement