Home | History | Annotate | Download | only in audio

Lines Matching full:code

35 <li><code>hardware/libhardware/include/hardware/audio.h</code> - represents the main functions
37 <li><code>hardware/libhardware/include/hardware/audio_policy.h</code> - represents the audio policy
39 <li><code>hardware/libhardware/include/hardware/audio_effect.h</code> - represents effects that can
44 <code>device/samsung/tuna/audio</code>.</p>
47 <code>device/&lt;company_name&gt;/&lt;device_name&gt;/audio/audio_policy.conf</code> file that
49 Nexus audio hardware in <code>device/samsung/tuna/audio/audio_policy.conf</code>. Also, see the
53 <code>system/media/audio/include/system/audio.h</code><br />
54 <code>system/media/audio/include/system/audio_policy.h</code></p>
57 <code>system/core/include/system/audio.h</code><br />
58 <code>system/core/include/system/audio_policy.h</code></p>
70 <p>For more implementation details, see the <code>device/samsung/tuna/audio/audio_hw.c</code> in
74 <code>audio_policy.conf</code> file to describe the multichannel output for your product. The
77 You can also specify a static channel mask like <code>AUDIO_CHANNEL_OUT_5POINT1</code>.</p>
111 location by creating an <code>Android.mk</code> file:</p>
114 <li>Create a <code>device/&lt;company_name&gt;/&lt;device_name&gt;/audio</code> directory to
116 <li>Create an <code>Android.mk</code> file to build the shared library. Ensure that the Makefile
122 <p>Notice your library must be named <code>audio.primary.&lt;device_name&gt;.so</code> so
123 that Android can correctly load the library. The "<code>primary</code>" portion of this filename
125 module names <code>audio.a2dp.&lt;device_name&gt;</code> and
126 <code>audio.usb.&lt;device_name&gt;</code> are also available for bluetooth and USB audio
127 interfaces. Here is an example of an <code>Android.mk</code> from the Galaxy Nexus audio hardware:
152 <code>device/&lt;company_name&gt;/&lt;device_name&gt;/device.mk</code> Makefile:
163 <li>Copy the <code>audio_policy.conf</code> file that you created earlier to the
164 <code>system/etc/</code> directory in your product's
165 <code>device/&lt;company_name&gt;/&lt;device_name&gt;/device.mk</code> Makefile. For example:
175 product's <code>device/&lt;company_name&gt;/&lt;device_name&gt;/device.mk</code> Makefile. For
208 . In Android app development, a use case is referred to as an <code>AudioSource</code>; and app
209 developers request to use the <code>AudioSource</code> abstraction instead of the actual audio
210 hardware device. The Android Audio Policy Manager maps an <code>AudioSource</code> to the actual
211 hardware with <code>AudioPolicyManagerBase::getDeviceForInputSource(int inputSource)</code>. The
215 <li><code>android.media.MediaRecorder.AudioSource.CAMCORDER</code></li>
216 <li><code>android.media.MediaRecorder.AudioSource.VOICE_COMMUNICATION</code></li>
217 <li><code>android.media.MediaRecorder.AudioSource.VOICE_CALL</code></li>
218 <li><code>android.media.MediaRecorder.AudioSource.VOICE_DOWNLINK</code></li>
219 <li><code>android.media.MediaRecorder.AudioSource.VOICE_UPLINK</code></li>
220 <li><code>android.media.MediaRecorder.AudioSource.VOICE_RECOGNITION</code></li>
221 <li><code>android.media.MediaRecorder.AudioSource.MIC</code></li>
222 <li><code>android.media.MediaRecorder.AudioSource.DEFAULT</code></li> </ul>
224 <p>The default pre-processing effects applied for each <code>AudioSource</code> are specified in
225 the <code>/system/etc/audio_effects.conf</code> file. To specify your own default effects for every
226 <code>AudioSource</code>, create a <code>/system/vendor/etc/audio_effects.conf</code> file and
228 10 in <code>device/samsung/manta/audio_effects.conf</code>. AudioEffect instances acquire and
232 <p class="warning"><strong>Warning:</strong> For the <code>VOICE_RECOGNITION</code> use case, do
239 <p>The following example enables pre-processing for the VoIP <code>AudioSource</code> and Camcorder
240 <code>AudioSource</code>. By declaring the <code>AudioSource</code> configuration in this manner,
257 <p>For <code>AudioSource</code> tuning, there are no explicit requirements on audio gain or audio
258 processing with the exception of voice recognition (<code>VOICE_RECOGNITION</code>).</p>
276 <li>Tuned for wind noise suppressor for <code>CAMCORDER</code></li>
277 <li>Tuned for stationary noise suppressor for <code>VOICE_COMMUNICATION</code></li>
282 <li>Tuned for close-talk for <code>VOICE_COMMUNICATION</code> and main phone mic</li>
283 <li>Tuned for far-talk for <code>CAMCORDER</code></li>
301 <li><code>device/samsung/manta/audio_effects.conf</code> file for the Nexus 10</li>