/frameworks/base/core/java/android/speech/srec/ |
UlawEncoderInputStream.java | 28 * InputStream which transforms 16 bit pcm data to ulaw data. 81 int pcm = (0xff & pcmBuf[pcmOffset++]) + (pcmBuf[pcmOffset++] << 8); local 82 pcm = (pcm * coef) >> SCALE_BITS; 85 if (pcm >= 0) { 86 ulaw = pcm <= 0 ? 0xff : 87 pcm <= 30 ? 0xf0 + (( 30 - pcm) >> 1) : 88 pcm <= 94 ? 0xe0 + (( 94 - pcm) >> 2) 123 int pcm = (0xff & pcmBuf[offset++]) + (pcmBuf[offset++] << 8); local [all...] |
/device/samsung/crespo/alsa-lib/src/conf/cards/ |
FM801.conf | 5 <confdir:pcm/front.conf> 7 FM801.pcm.front.0 { 17 FM801.pcm.default { 23 playback.pcm { 25 slave.pcm { 30 capture.pcm { 32 slave.pcm { 39 <confdir:pcm/surround40.conf> 41 FM801.pcm.surround40.0 "cards.FM801.pcm.front.0 [all...] |
PMacToonie.conf | 5 <confdir:pcm/front.conf> 7 PMacToonie.pcm.front.0 { 13 slave.pcm { 18 name "PCM Playback Volume" 24 PMacToonie.pcm.default { 30 playback.pcm { 32 slave.pcm { 34 slave.pcm { 39 name "PCM Playback Volume" 44 capture.pcm { [all...] |
CMI8788.conf | 5 <confdir:pcm/front.conf> 7 CMI8788.pcm.front.0 { 17 CMI8788.pcm.default { 23 playback.pcm { 25 slave.pcm { 27 slave.pcm { 32 name "PCM Playback Volume" 37 capture.pcm { 39 slave.pcm { 46 <confdir:pcm/surround40.conf [all...] |
AU8820.conf | 5 <confdir:pcm/front.conf> 7 AU8820.pcm.front.0 {
|
ES1968.conf | 3 <confdir:pcm/front.conf> 5 ES1968.pcm.front.0 {
|
HDA-Intel.conf | 5 <confdir:pcm/front.conf> 7 HDA-Intel.pcm.front.0 { 13 slave.pcm { 18 name "PCM Playback Volume" 24 HDA-Intel.pcm.default { 30 playback.pcm { 32 slave.pcm { 34 slave.pcm { 39 name "PCM Playback Volume" 44 capture.pcm { [all...] |
PC-Speaker.conf | 5 <confdir:pcm/front.conf> 7 PC-Speaker.pcm.front.0 { 13 slave.pcm { 26 PC-Speaker.pcm.default { 32 playback.pcm { 34 slave.pcm { 42 slave.pcm { 48 capture.pcm {
|
ENS1370.conf | 5 <confdir:pcm/front.conf> 7 ENS1370.pcm.front.0 { 18 ENS1370.pcm.default { 24 playback.pcm { 26 slave.pcm { 31 capture.pcm { 33 slave.pcm { 40 <confdir:pcm/rear.conf> 42 ENS1370.pcm.rear.0 { 48 slave.pcm { [all...] |
CMI8738-MC8.conf | 5 <confdir:pcm/front.conf> 7 CMI8738-MC8.pcm.front.0 { 13 slave.pcm { 18 name "PCM Playback Volume" 24 CMI8738-MC8.pcm.default { 30 playback.pcm { 32 slave.pcm { 34 slave.pcm { 39 name "PCM Playback Volume" 44 capture.pcm { [all...] |
Aureon71.conf | 6 Aureon71.pcm.default { 12 playback.pcm { 14 slave.pcm { 19 capture.pcm { 21 slave.pcm { 28 <confdir:pcm/front.conf> 30 Aureon71.pcm.front.0 { 39 <confdir:pcm/rear.conf> 41 Aureon71.pcm.rear.0 { 51 <confdir:pcm/center_lfe.conf [all...] |
CMI8338-SWIEC.conf | 6 <confdir:pcm/front.conf> 8 CMI8338-SWIEC.pcm.front.0 { 18 CMI8338-SWIEC.pcm.default { 24 playback.pcm { 26 slave.pcm { 31 capture.pcm { 33 slave.pcm { 40 <confdir:pcm/rear.conf> 44 CMI8338-SWIEC.pcm.rear.0 { 54 <confdir:pcm/surround40.conf [all...] |
CMI8338.conf | 5 <confdir:pcm/front.conf> 7 CMI8338.pcm.front.0 { 17 CMI8338.pcm.default { 23 playback.pcm { 25 slave.pcm { 30 capture.pcm { 32 slave.pcm { 39 <confdir:pcm/rear.conf> 43 CMI8338.pcm.rear.0 { 53 <confdir:pcm/surround40.conf [all...] |
AACI.conf | 5 <confdir:pcm/front.conf> 7 AACI.pcm.front.0 { 16 <confdir:pcm/surround40.conf> 18 AACI.pcm.surround40.0 "cards.AACI.pcm.front.0" 20 <confdir:pcm/surround51.conf> 22 AACI.pcm.surround51.0 { 30 pcm { 33 "cards.AACI.pcm.front.0:CARD=" $CARD
|
Maestro3.conf | 3 <confdir:pcm/front.conf> 5 Maestro3.pcm.front.0 { 15 Maestro3.pcm.default { 21 playback.pcm { 23 slave.pcm { 30 capture.pcm { 32 slave.pcm {
|
PMac.conf | 5 <confdir:pcm/front.conf> 7 PMac.pcm.front.0 { 17 PMac.pcm.default { 23 playback.pcm { 25 slave.pcm { 30 capture.pcm { 32 slave.pcm {
|
Aureon51.conf | 6 Aureon51.pcm.default { 12 playback.pcm { 14 slave.pcm { 19 capture.pcm { 21 slave.pcm { 28 <confdir:pcm/front.conf> 30 Aureon51.pcm.front.0 { 39 <confdir:pcm/rear.conf> 41 Aureon51.pcm.rear.0 { 52 <confdir:pcm/center_lfe.conf [all...] |
/device/samsung/crespo/ |
asound.conf | 33 pcm.AndroidPlayback { 35 slave.pcm { 48 pcm.AndroidPlayback_Earpiece { 50 slave.pcm { 64 pcm.AndroidPlayback_Speaker { 66 slave.pcm { 81 pcm.AndroidPlayback_Headset { 83 slave.pcm { 98 pcm.AndroidPlayback_Headphone { 100 slave.pcm { [all...] |
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_generic.c | 2 * \file pcm/pcm_generic.c 3 * \ingroup PCM 4 * \brief PCM Interface 9 * PCM - Common generic plugin code 36 int snd_pcm_generic_close(snd_pcm_t *pcm) 38 snd_pcm_generic_t *generic = pcm->private_data; 46 int snd_pcm_generic_nonblock(snd_pcm_t *pcm, int nonblock) 48 snd_pcm_generic_t *generic = pcm->private_data; 52 int snd_pcm_generic_async(snd_pcm_t *pcm, int sig, pid_t pid) 54 snd_pcm_generic_t *generic = pcm->private_data [all...] |
pcm_generic.h | 2 * PCM - Common generic plugin code 107 int snd_pcm_generic_close(snd_pcm_t *pcm); 108 int snd_pcm_generic_nonblock(snd_pcm_t *pcm, int nonblock); 109 int snd_pcm_generic_async(snd_pcm_t *pcm, int sig, pid_t pid); 110 int snd_pcm_generic_poll_descriptors_count(snd_pcm_t *pcm); 111 int snd_pcm_generic_poll_descriptors(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int space); 112 int snd_pcm_generic_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents); 113 int snd_pcm_generic_info(snd_pcm_t *pcm, snd_pcm_info_t * info); 114 int snd_pcm_generic_hw_free(snd_pcm_t *pcm); 115 int snd_pcm_generic_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t *params) [all...] |
pcm_null.c | 2 * \file pcm/pcm_null.c 4 * \brief PCM Null Plugin Interface 9 * PCM - Null plugin 49 static int snd_pcm_null_close(snd_pcm_t *pcm) 51 snd_pcm_null_t *null = pcm->private_data; 57 static int snd_pcm_null_nonblock(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int nonblock ATTRIBUTE_UNUSED) 62 static int snd_pcm_null_async(snd_pcm_t *pcm ATTRIBUTE_UNUSED, int sig ATTRIBUTE_UNUSED, pid_t pid ATTRIBUTE_UNUSED) 67 static int snd_pcm_null_info(snd_pcm_t *pcm, snd_pcm_info_t * info) 70 info->stream = pcm->stream; 72 if (pcm->name) 330 snd_pcm_t *pcm; local [all...] |
/device/samsung/crespo/alsa-lib/src/conf/ |
alsa.conf | 62 defaults.pcm.card 0 63 defaults.pcm.device 0 64 defaults.pcm.subdevice -1 65 defaults.pcm.nonblock 1 66 defaults.pcm.ipc_key 5678293 67 defaults.pcm.ipc_gid audio 68 defaults.pcm.ipc_perm 0660 69 defaults.pcm.dmix.max_periods 0 70 defaults.pcm.dmix.rate 48000 71 defaults.pcm.dmix.format "unchanged [all...] |
/device/samsung/crespo/libaudio2/ |
alsa_pcm.c | 193 struct pcm { struct 202 unsigned pcm_buffer_size(struct pcm *pcm) 204 return pcm->buffer_size; 207 const char* pcm_error(struct pcm *pcm) 209 return pcm->error; 212 static int oops(struct pcm *pcm, int e, const char *fmt, ...) 218 vsnprintf(pcm->error, PCM_ERROR_MAX, fmt, ap) 313 struct pcm *pcm; local [all...] |
alsa_audio.h | 20 struct pcm; 40 /* Acquire/release a pcm channel. 43 struct pcm *pcm_open(unsigned flags); 44 int pcm_close(struct pcm *pcm); 45 int pcm_ready(struct pcm *pcm); 48 const char *pcm_error(struct pcm *pcm); 53 unsigned pcm_buffer_size(struct pcm *pcm) [all...] |
/external/bluetooth/bluez/audio/ |
bluetooth.conf | 15 pcm.rawbluetooth { 24 pcm.bluetooth { 31 pcm {
|