HomeSort by relevance Sort by last modified time
    Searched defs:pcm (Results 26 - 48 of 48) sorted by null

12

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/alsa/
pcm_ioplug.h 11 * ALSA external PCM plugin SDK
37 * See the \ref pcm page for more details.
61 #define SND_PCM_IOPLUG_FLAG_LISTED (1<<0) /**< list up this PCM */
101 * PCM handle filled by #snd_pcm_extplug_create()
103 snd_pcm_t *pcm; member in struct:snd_pcm_ioplug
106 snd_pcm_state_t state; /**< current PCM state; read-only */
112 snd_pcm_format_t format; /**< PCM format; filled after hw_params is called */
122 * start the PCM; required
126 * stop the PCM; required
141 * close the PCM; optiona
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
pcm_ioplug.h 11 * ALSA external PCM plugin SDK
37 * See the \ref pcm page for more details.
61 #define SND_PCM_IOPLUG_FLAG_LISTED (1<<0) /**< list up this PCM */
101 * PCM handle filled by #snd_pcm_extplug_create()
103 snd_pcm_t *pcm; member in struct:snd_pcm_ioplug
106 snd_pcm_state_t state; /**< current PCM state; read-only */
112 snd_pcm_format_t format; /**< PCM format; filled after hw_params is called */
122 * start the PCM; required
126 * stop the PCM; required
141 * close the PCM; optiona
    [all...]
  /frameworks/wilhelm/tests/examples/
slesTestDecodeToBuffQueue.cpp 29 Signed 16-bit PCM
69 /* metadata key index for the PCM format information we want to retrieve */
72 /* size of the struct to retrieve the PCM format metadata values: the values we're interested in
79 /* we only want to query / display the PCM format once */
242 /* Example: query of the decoded PCM format */
251 // but the call was successful for the PCM format keys, so those conditions are implied
296 SLDataFormat_PCM pcm; local
311 /* allocate memory to receive the PCM format metadata */
346 pcm.formatType = SL_DATAFORMAT_PCM;
348 pcm.numChannels = 1
    [all...]
  /hardware/qcom/audio/legacy/libalsa-intf/
aplay.c 55 {"pcm", 0, 0, 'P'},
83 static int set_params(struct pcm *pcm)
90 unsigned int requestedRate = pcm->rate;
91 int channels = (pcm->flags & PCM_MONO) ? 1 : ((pcm->flags & PCM_5POINT1)? 6 : 2 );
102 (pcm->flags & PCM_MMAP)? SNDRV_PCM_ACCESS_MMAP_INTERLEAVED : SNDRV_PCM_ACCESS_RW_INTERLEAVED);
103 param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, pcm->format);
112 pcm->channels * 16);
114 pcm->channels)
167 struct pcm *pcm; local
    [all...]
arec.c 47 static struct pcm *pcm; variable in typeref:struct:pcm
59 {"pcm", 0, 0, 'P'},
87 static int set_params(struct pcm *pcm)
94 unsigned int requestedRate = pcm->rate;
105 (pcm->flags & PCM_MMAP)? SNDRV_PCM_ACCESS_MMAP_INTERLEAVED : SNDRV_PCM_ACCESS_RW_INTERLEAVED);
106 param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, pcm->format);
115 pcm->channels * 16);
117 pcm->channels)
    [all...]
alsa_audio.h 24 struct pcm { struct
82 /* Acquire/release a pcm channel.
116 /** PCM */
137 struct pcm *pcm_open(unsigned flags, char *device);
138 int pcm_close(struct pcm *pcm);
139 int pcm_ready(struct pcm *pcm);
140 int mmap_buffer(struct pcm *pcm);
    [all...]
alsa_pcm.c 185 static int oops(struct pcm *pcm, int e, const char *fmt, ...);
329 int param_set_hw_refine(struct pcm *pcm, struct snd_pcm_hw_params *params)
331 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_HW_REFINE, params)) {
338 int param_set_hw_params(struct pcm *pcm, struct snd_pcm_hw_params *params)
340 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_HW_PARAMS, params)) {
343 pcm->hw_p = params;
347 int param_set_sw_params(struct pcm *pcm, struct snd_pcm_sw_params *sparams
759 struct pcm *pcm; local
    [all...]
  /external/libvorbis/lib/
res0.c 790 int *pcm=in[i]; local
793 work[k]=pcm[j];
vorbisfile.c 417 /* Starting from current cursor position, get initial PCM offset of
448 /* pcm offset of last packet on the first audio page */
551 /* for the time being, fetch end PCM offset the simple way */
621 /* fetch initial PCM offset */
721 /* update the pcm offset. */
728 (above), we know the pcm position of the *last* sample
1852 float **pcm; local
2008 float **pcm; local
2105 float **pcm; local
2145 float **pcm; local
2199 float **pcm; local
2260 float **pcm; local
    [all...]
  /external/qemu/audio/
ossaudio.c 398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift); local
400 bytes_written = write (oss->fd, pcm, bytes_to_write);
  /hardware/intel/audio_media/hdmi/
tinyaudio_hw.c 86 struct pcm * activePcm = NULL;
129 struct pcm *pcm; member in struct:stream_out
132 /* PCM Stream Configurations */
136 /* ALSA PCM Configurations */
205 16 bit signed PCM*/
276 out->pcm = pcm_open(adev->card, adev->device, PCM_OUT, &out->pcm_config);
278 if (out->pcm && !pcm_is_ready(out->pcm)) {
279 ALOGE("pcm_open() failed: %s", pcm_get_error(out->pcm));
    [all...]
  /hardware/qcom/audio/legacy/alsa_sound/
alsa_default.cpp 347 struct pcm* pcm = handle->handle; local
349 unsigned long periodSize = pcm->period_size;
642 /* No need to call s_close for LPA as pcm device open and close is handled by LPAPlayer in stagefright */
656 // The PCM stream is opened in blocking mode, per ALSA defaults. The
698 ALOGE("Failed to get pcm device node: %s", devName);
704 ALOGE("Failed to get pcm device node");
722 ALOGE("Set HW/SW params failed: Closing the pcm stream");
745 ALOGE("Failed to get pcm device node");
752 ALOGE("Failed to get pcm device node")
    [all...]
  /device/asus/grouper/audio/
audio_hw.c 128 struct pcm *pcm; member in struct:stream_out
148 struct pcm *pcm; member in struct:stream_in
230 pcm_close(out->pcm);
231 out->pcm = NULL;
251 pcm_close(in->pcm);
252 in->pcm = NULL;
276 * (speaker/headphone) PCM or the BC SCO PCM open a
    [all...]
  /device/htc/flounder/audio/visualizer/
nv_offload_visualizer.c 147 /* thread capturing PCM from Proxy port and calling the process function on each enabled effect
288 struct pcm *pcm = NULL; local
302 pcm = pcm_open(SOUND_CARD, CAPTURE_DEVICE,
304 if (pcm && !pcm_is_ready(pcm)) {
305 ALOGW("%s: %s", __func__, pcm_get_error(pcm));
306 pcm_close(pcm);
307 pcm = NULL;
315 if (pcm != NULL)
    [all...]
  /external/bluetooth/bluedroid/btif/include/
btif_av_api.h 49 #define BTIF_AV_CODEC_PCM 0x5 /* Raw PCM */
196 tBTIF_AV_MEDIA_FEED_CFG_PCM pcm; /* Raw PCM feeding format */ member in union:__anon5622
  /external/tinyalsa/
pcm.c 0 /* pcm.c
244 struct pcm { struct
262 unsigned int pcm_get_buffer_size(struct pcm *pcm)
264 return pcm->buffer_size;
267 const char* pcm_get_error(struct pcm *pcm)
269 return pcm->error;
272 static int oops(struct pcm *pcm, int e, const char *fmt, ...
842 struct pcm *pcm; local
    [all...]
  /frameworks/ex/variablespeed/jni/
variablespeed.cc 617 SLDataFormat_PCM pcm = {SL_DATAFORMAT_PCM, 1, SL_SAMPLINGRATE_44_1, local
620 SLDataSink decDest = { &decBuffQueue, &pcm };
  /hardware/qcom/audio/hal/
audio_hw.h 50 * Each usecase is mapped to a specific PCM device.
92 * one frame = channel_count * sizeof (pcm sample)
93 * so if format = 16-bit PCM and channels = Stereo, frame size = 2 ch * 2 = 4 bytes
124 struct pcm *pcm; member in struct:stream_out
160 struct pcm *pcm; member in struct:stream_in
  /hardware/qcom/audio/visualizer/
offload_visualizer.c 157 /* thread capturing PCM from Proxy port and calling the process function on each enabled effect
330 struct pcm *pcm = NULL; local
359 pcm = pcm_open(SOUND_CARD, CAPTURE_DEVICE,
361 if (pcm && !pcm_is_ready(pcm)) {
362 ALOGW("%s: %s", __func__, pcm_get_error(pcm));
363 pcm_close(pcm);
364 pcm = NULL;
374 if (pcm != NULL
    [all...]
  /device/htc/flounder/audio/hal/
audio_hw.h 129 * one frame = channel_count * sizeof (pcm sample)
130 * so if format = 16-bit PCM and channels = Stereo, frame size = 2 ch * 2 = 4 bytes
187 * Each usecase is mapped to a specific PCM device.
210 * one frame = channel_count * sizeof (pcm sample)
211 * so if format = 16-bit PCM and channels = Stereo, frame size = 2 ch * 2 = 4 bytes
255 struct pcm* pcm; member in struct:pcm_device
audio_hw.c 52 /* TODO: the following PCM device profiles could be read from a config file */
920 if (pcm_get_htimestamp(ref_device->pcm, &kernel_frames, &tstamp) < 0) {
4331 struct pcm *pcm = NULL; local
    [all...]
  /device/samsung/manta/audio/
audio_hw.c 123 OUTPUT_DEEP_BUF, // deep PCM buffers output stream
140 struct pcm *pcm_voice_out;
141 struct pcm *pcm_sco_out;
142 struct pcm *pcm_voice_in;
143 struct pcm *pcm_sco_in;
160 struct pcm *pcm[PCM_TOTAL]; member in struct:stream_out
182 struct pcm *pcm; member in struct:stream_in
727 out->pcm[PCM_CARD] = pcm_open(PCM_CARD, out->pcm_device
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_media_task.c 203 /* fixme -- define this in pcm time instead of buffer count */
250 UINT32 bytes_per_tick; /* pcm bytes read each media task tick */
256 tBTIF_AV_MEDIA_FEEDINGS_PCM_STATE pcm; member in union:__anon5707
844 /* for now hardcode 44.1 khz 16 bit stereo PCM format */
845 media_feeding.cfg.pcm.sampling_freq = 44100;
846 media_feeding.cfg.pcm.bit_per_sample = 16;
847 media_feeding.cfg.pcm.num_channel = 2;
    [all...]

Completed in 299 milliseconds

12