Searched refs:pcm (Results 1 - 25 of 245) sorted by relevance

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm.c29 #include <sound/pcm.h>
41 static int snd_pcm_free(struct snd_pcm *pcm);
48 struct snd_pcm *pcm; local
50 list_for_each_entry(pcm, &snd_pcm_devices, list) {
51 if (pcm->card == card && pcm->device == device)
52 return pcm;
87 struct snd_pcm *pcm; local
102 pcm = snd_pcm_search(card, device);
103 if (pcm
450 struct snd_pcm *pcm = pstr->pcm; local
599 snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) argument
681 struct snd_pcm *pcm; local
745 snd_pcm_free(struct snd_pcm *pcm) argument
764 struct snd_pcm *pcm = device->device_data; local
774 snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file, struct snd_pcm_substream **rsubstream) argument
916 struct snd_pcm *pcm; local
942 struct snd_pcm *pcm = device->device_data; local
997 struct snd_pcm *pcm = device->device_data; local
1033 struct snd_pcm *pcm; local
1063 struct snd_pcm *pcm; local
[all...]
H A DMakefile14 snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
28 obj-$(CONFIG_SND_PCM) += snd-pcm.o snd-page-alloc.o
H A Dpcm_timer.c25 #include <sound/pcm.h>
70 snd_printk(KERN_ERR "pcm timer resolution out of range (rate = %u, period_size = %lu)\n", runtime->rate, runtime->period_size);
136 tid.card = substream->pcm->card->number;
137 tid.device = substream->pcm->device;
139 if (snd_timer_new(substream->pcm->card, "PCM", &tid, &timer) < 0)
158 snd_device_free(substream->pcm->card, substream->timer);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/bcm947xx/
H A DMakefile23 snd-soc-bcm947xx-pcm-objs := bcm947xx-pcm.o
26 obj-$(CONFIG_SND_BCM947XX_SOC) += snd-soc-bcm947xx-pcm.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/arm/
H A DMakefile11 obj-$(CONFIG_SND_PXA2XX_PCM) += snd-pxa2xx-pcm.o
12 snd-pxa2xx-pcm-objs := pxa2xx-pcm.o
H A Dpxa2xx-pcm.c2 * linux/sound/arm/pxa2xx-pcm.c -- ALSA PCM interface for the Intel PXA2xx chip
21 #include <sound/pcm.h>
28 #include "pxa2xx-pcm.h"
221 dma_alloc_writecombine(substream->pcm->card->dev, PAGE_SIZE,
241 dma_free_writecombine(substream->pcm->card->dev, PAGE_SIZE,
256 dma_free_writecombine(substream->pcm->card->dev, PAGE_SIZE,
266 return dma_mmap_writecombine(substream->pcm->card->dev, vma,
284 static int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) argument
286 struct snd_pcm_substream *substream = pcm->streams[stream].substream;
290 buf->dev.dev = pcm
300 pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm) argument
324 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-pxa/
H A Daudio.h6 #include <sound/pcm.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/i2sbus/
H A DMakefile2 snd-aoa-i2sbus-objs := i2sbus-core.o i2sbus-pcm.o i2sbus-control.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A DMakefile8 snd-pcm-oss-objs := pcm_oss.o pcm_plugin.o \
12 obj-$(CONFIG_SND_PCM_OSS) += snd-pcm-oss.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/
H A Dac97_pcm.c33 #include <sound/pcm.h>
158 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, argument
165 if (pcm->spdif)
167 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK)
168 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3];
407 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int dbl) argument
416 reg = get_slot_reg(pcm, cidx, i, dbl);
425 rates &= pcm->r[dbl].codec[cidx]->rates[idx];
438 const struct ac97_pcm *pcm; local
468 pcm
555 snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, enum ac97_pcm_cfg cfg, unsigned short slots) argument
638 snd_ac97_pcm_close(struct ac97_pcm *pcm) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dblock.c44 /* pcm accumulator examples (not exhaustive):
250 v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm));
255 v->pcm[i]=_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i]));
358 if(v->pcm){
361 if(v->pcm[i])_ogg_free(v->pcm[i]);
362 _ogg_free(v->pcm);
395 v->pcm[
764 float *pcm=v->pcm[j]+prevCenter; local
771 float *pcm=v->pcm[j]+prevCenter+n1/2-n0/2; local
780 float *pcm=v->pcm[j]+prevCenter; local
789 float *pcm=v->pcm[j]+prevCenter; local
798 float *pcm=v->pcm[j]+thisCenter; local
897 vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm) argument
923 vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm) argument
[all...]
H A Dpsytune.c242 float *pcm[2],*out[2],*window,*flr[2],*mask[2],*work[2]; local
276 pcm[0]=_ogg_malloc(framesize*sizeof(float));
277 pcm[1]=_ogg_malloc(framesize*sizeof(float));
314 pcm[0][i]=((buffer[i*4+1]<<8)|
316 pcm[1][i]=((buffer[i*4+3]<<8)|
330 float *mdct=pcm[i];
333 analysis("pre",frameno+i,pcm[i],framesize,0,0);
337 fft[j]=pcm[i][j]*=window[j];
351 mdct_forward(&m_look,pcm[i],mdct);
363 float *mdct=pcm[
[all...]
H A Dmapping0.c267 float *pcm =vb->pcm[i]; local
268 float *logfft =pcm;
290 _analysis_output("pcmL",seq,pcm,n,0,0,total-n/2);
292 _analysis_output("pcmR",seq,pcm,n,0,0,total-n/2);
294 _analysis_output("pcm",seq,pcm,n,0,0,total-n/2);
299 _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW);
304 _analysis_output("windowedL",seq,pcm,n,0,0,total-n/2);
306 _analysis_output("windowedR",seq,pcm,
841 float *pcm=vb->pcm[i]; local
851 float *pcm=vb->pcm[i]; local
[all...]
H A Dsynthesis.c67 /* alloc pcm passback storage */
69 vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels);
71 vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i]));
80 /* used to track pcm position without actually performing decode.
120 /* no pcm */
122 vb->pcm=NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/s3c24xx/
H A DMakefile2 snd-soc-s3c24xx-objs := s3c24xx-pcm.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0_pcm.c27 #include <sound/pcm.h>
137 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) {
139 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_A3D) {
143 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_SPDIF) {
157 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB
158 || VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_I2S)
200 printk(KERN_ERR "Vortex: pcm page alloc failed!\n");
211 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) {
212 int dma, type = VORTEX_PCM_TYPE(substream->pcm);
261 if (VORTEX_PCM_TYPE(substream->pcm) !
503 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Demupcm.c1308 struct snd_pcm *pcm; local
1315 if ((err = snd_pcm_new(emu->card, "emu10k1", device, 32, 1, &pcm)) < 0)
1318 pcm->private_data = emu;
1320 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1_playback_ops);
1321 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_ops);
1323 pcm->info_flags = 0;
1324 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
1325 strcpy(pcm->name, "ADC Capture/Standard PCM Playback");
1326 emu->pcm = pcm;
1343 struct snd_pcm *pcm; local
1386 struct snd_pcm *pcm; local
1520 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1548 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1563 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1576 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1599 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1646 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1678 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1696 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; local
1718 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dpcm.d1 libavcodec/pcm.o: libavcodec/pcm.c libavcodec/avcodec.h libavutil/avutil.h \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/pxa/
H A Dpxa2xx-pcm.c2 * linux/sound/arm/pxa2xx-pcm.c -- ALSA PCM interface for the Intel PXA2xx chip
21 #include <sound/pcm.h>
30 #include "pxa2xx-pcm.h"
244 dma_alloc_writecombine(substream->pcm->card->dev, PAGE_SIZE,
265 dma_free_writecombine(substream->pcm->card->dev, PAGE_SIZE,
275 return dma_mmap_writecombine(substream->pcm->card->dev, vma,
293 static int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) argument
295 struct snd_pcm_substream *substream = pcm->streams[stream].substream;
299 buf->dev.dev = pcm->card->dev;
301 buf->area = dma_alloc_writecombine(pcm
309 pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm) argument
332 pxa2xx_pcm_new(struct snd_card *card, struct snd_soc_codec_dai *dai, struct snd_pcm *pcm) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/test_seeking/
H A Dmain.c38 FLAC__int32 **pcm; member in struct:__anon939
103 static FLAC__bool read_pcm_(FLAC__int32 *pcm[], const char *rawfilename, const char *flacfilename) argument
155 if(0 == (pcm[i] = (FLAC__int32*)malloc(sizeof(FLAC__int32)*samples))) {
170 pcm[j][i] = c;
179 pcm[j][i] = ((int)((signed char)c[0])) << 8 | (int)c[1];
211 if (dcd->pcm) {
215 if (buffer[c][j] != dcd->pcm[c][i]) {
216 printf("ERROR: sample mismatch at sample#%u(%u), channel=%u, expected %d, got %d\n", i, j, c, buffer[c][j], dcd->pcm[c][i]);
268 static FLAC__bool seek_barrage(FLAC__bool is_ogg, const char *filename, off_t filesize, unsigned count, FLAC__int64 total_samples, unsigned read_mode, FLAC__int32 **pcm) argument
275 decoder_client_data.pcm
426 FLAC__int32 *pcm[2] = { 0, 0 }; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/hda/
H A Dhda_proc.c90 static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm) argument
98 pcm &= AC_SUPPCM_RATES;
99 snd_iprintf(buffer, " rates [0x%x]:", pcm);
101 if (pcm & (1 << i))
106 static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm) argument
111 pcm = (pcm >> 16) & 0xff;
112 snd_iprintf(buffer, " bits [0x%x]:", pcm);
114 if (pcm & (1 << i))
135 unsigned int pcm local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c45 * NOTE: this may be called not only once per pcm open!
64 * NOTE: this may be called not only once per pcm open!
327 * snd_pdacf_pcm_new - create and initialize a pcm
331 struct snd_pcm *pcm; local
334 err = snd_pcm_new(chip->card, "PDAudioCF", 0, 0, 1, &pcm);
338 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops);
340 pcm->private_data = chip;
341 pcm->info_flags = 0;
342 strcpy(pcm->name, chip->card->shortname);
343 chip->pcm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/at91/
H A DMakefile2 snd-soc-at91-objs := at91-pcm.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-omap/
H A Domap-alsa.h46 #include <sound/pcm.h>
68 struct snd_pcm_substream *stream; /* the pcm stream */
80 struct snd_pcm *pcm; member in struct:snd_card_omap_codec
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/examples/cpp/encode/file/
H A Dmain.cpp48 static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/]; variable
49 static FLAC__int32 *pcm_[2] = { pcm, pcm+READSIZE };
146 pcm[i] = (FLAC__int32)(((FLAC__int16)(FLAC__int8)buffer[2*i+1] << 8) | (FLAC__int16)buffer[2*i]);
149 ok = encoder.process_interleaved(pcm, need);

Completed in 145 milliseconds

12345678910