Searched refs:pcm (Results 26 - 50 of 245) sorted by relevance

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/mips/
H A Dau1x00.c45 #include <sound/pcm.h>
100 struct snd_pcm *pcm; member in struct:snd_au1000
288 struct snd_au1000 *au1000 = substream->pcm->private_data;
301 struct snd_au1000 *au1000 = substream->pcm->private_data;
314 struct snd_au1000 *au1000 = substream->pcm->private_data;
323 struct snd_au1000 *au1000 = substream->pcm->private_data;
356 struct snd_au1000 *au1000 = substream->pcm->private_data;
370 struct snd_au1000 *au1000 = substream->pcm->private_data;
444 struct snd_pcm *pcm; local
448 if ((err = snd_pcm_new(au1000->card, "AU1000 AC97 PCM", 0, 1, 1, &pcm)) <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Dvoice.c92 voice->pcm = 1;
130 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0;
152 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/at91/
H A Dat91-pcm.c2 * at91-pcm.c -- ALSA PCM interface for the Atmel AT91 SoC
8 * Based on pxa2xx-pcm.c by:
28 #include <sound/pcm.h>
35 #include "at91-pcm.h"
76 "at91-pcm: buffer %s on %s (SSC_SR=%#x, count=%d)\n",
269 return dma_mmap_writecombine(substream->pcm->card->dev, vma,
287 static int at91_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, argument
290 struct snd_pcm_substream *substream = pcm->streams[stream].substream;
295 buf->dev.dev = pcm->card->dev;
297 buf->area = dma_alloc_writecombine(pcm
314 at91_pcm_new(struct snd_card *card, struct snd_soc_codec_dai *dai, struct snd_pcm *pcm) argument
341 at91_pcm_free_dma_buffers(struct snd_pcm *pcm) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/s3c24xx/
H A Ds3c24xx-pcm.c2 * s3c24xx-pcm.c -- ALSA Soc Audio Layer
29 #include <sound/pcm.h>
39 #include "s3c24xx-pcm.h"
309 /* we seem to be getting the odd error from the pcm library due
364 return dma_mmap_writecombine(substream->pcm->card->dev, vma,
382 static int s3c24xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) argument
384 struct snd_pcm_substream *substream = pcm->streams[stream].substream;
391 buf->dev.dev = pcm->card->dev;
393 buf->area = dma_alloc_writecombine(pcm->card->dev, size,
401 static void s3c24xx_pcm_free_dma_buffers(struct snd_pcm *pcm) argument
426 s3c24xx_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/src/linux/linux-2.6/sound/drivers/
H A Ddummy.c33 #include <sound/pcm.h>
118 struct snd_pcm *pcm; member in struct:snd_dummy
298 if (substream->pcm->device & 1) {
302 if (substream->pcm->device & 2)
323 if (substream->pcm->device == 1) {
327 if (substream->pcm->device & 2)
372 struct snd_pcm *pcm; local
376 substreams, substreams, &pcm)) < 0)
378 dummy->pcm = pcm;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A DMakefile262 OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o
263 OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o
264 OBJS-$(CONFIG_PCM_DVD_DECODER) += pcm.o
265 OBJS-$(CONFIG_PCM_DVD_ENCODER) += pcm.o
266 OBJS-$(CONFIG_PCM_F32BE_DECODER) += pcm.o
267 OBJS-$(CONFIG_PCM_F32BE_ENCODER) += pcm.o
268 OBJS-$(CONFIG_PCM_F32LE_DECODER) += pcm.o
269 OBJS-$(CONFIG_PCM_F32LE_ENCODER) += pcm.o
270 OBJS-$(CONFIG_PCM_F64BE_DECODER) += pcm.o
271 OBJS-$(CONFIG_PCM_F64BE_ENCODER) += pcm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/include/vorbis/
H A Dcodec.h63 float **pcm; member in struct:vorbis_dsp_state
90 float **pcm; /* this is a pointer into local storage */ member in struct:vorbis_block
212 extern int vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm);
213 extern int vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ad1848/
H A Dad1848.c92 struct snd_pcm *pcm; local
106 error = snd_ad1848_pcm(chip, 0, &pcm);
115 strcpy(card->shortname, pcm->name);
118 pcm->name, chip->port, irq[n], dma1[n]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c33 #include <sound/pcm.h>
414 struct snd_pcm *pcm; local
417 err = snd_pcm_new(cs5535au->card, "CS5535 Audio", 0, 1, 1, &pcm);
425 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
427 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
430 pcm->private_data = cs5535au;
431 pcm->info_flags = 0;
432 strcpy(pcm->name, "CS5535 Audio");
434 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
437 cs5535au->pcm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/mixart/
H A Dmixart.c36 #include <sound/pcm.h>
255 snd_printdd("add_ref_pipe audio chip(%d) pcm(%d)\n", chip->chip_idx, pcm_number);
277 /* we don't yet know the format, so config 16 bit pcm audio for instance */
629 snd_printdd("snd_mixart_hw_params(pcm %d) : dma_addr(%x) dma_bytes(%x) subs-number(%d)\n", i,
650 * TODO CONFIGURATION SPACE for all pcms, mono pcm must update channels_max
700 struct snd_pcm *pcm = subs->pcm; local
708 if ( pcm == chip->pcm ) {
712 snd_assert ( pcm
775 struct snd_pcm *pcm = subs->pcm; local
911 preallocate_buffers(struct snd_mixart *chip, struct snd_pcm *pcm) argument
922 struct snd_pcm *pcm; local
953 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/pcxhr/
H A Dpcxhr.h28 #include <sound/pcm.h>
156 struct snd_pcm *pcm; /* PCM */ member in struct:snd_pcxhr
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf.h24 #include <sound/pcm.h>
103 struct snd_pcm *pcm; member in struct:snd_pdacf
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/
H A Demu8000_synth.c103 if (hw->pcm)
104 snd_device_free(dev->card, hw->pcm);
H A Demu8000_pcm.c2 * pcm emulation on emu8000 wavetable
24 #include <sound/pcm.h>
27 * define the following if you want to use this pcm with non-interleaved mode
34 * pcm.emu8k {
36 * slave.pcm {
224 * open pcm
680 static void snd_emu8000_pcm_free(struct snd_pcm *pcm) argument
682 struct snd_emu8000 *emu = pcm->private_data;
683 emu->pcm = NULL;
688 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/oss/
H A Dpcm_oss.c32 #include <sound/pcm.h>
200 static int snd_pcm_hw_param_mask(struct snd_pcm_substream *pcm, argument
209 int err = snd_pcm_hw_refine(pcm, params);
249 * @pcm: PCM instance
259 static int snd_pcm_hw_param_min(struct snd_pcm_substream *pcm, argument
268 int err = snd_pcm_hw_refine(pcm, params);
310 * @pcm: PCM instance
320 static int snd_pcm_hw_param_max(struct snd_pcm_substream *pcm, argument
329 int err = snd_pcm_hw_refine(pcm, params);
382 * @pcm
394 snd_pcm_hw_param_near(struct snd_pcm_substream *pcm, struct snd_pcm_hw_params *params, snd_pcm_hw_param_t var, unsigned int best, int *dir) argument
522 snd_pcm_hw_param_set(struct snd_pcm_substream *pcm, struct snd_pcm_hw_params *params, snd_pcm_hw_param_t var, unsigned int val, int dir) argument
2139 snd_pcm_oss_look_for_setup(struct snd_pcm *pcm, int stream, const char *task_name, struct snd_pcm_oss_setup *rsetup) argument
2218 snd_pcm_oss_open_file(struct file *file, struct snd_pcm *pcm, struct snd_pcm_oss_file **rpcm_oss_file, int minor, struct snd_pcm_oss_setup *setup) argument
2290 struct snd_pcm *pcm; local
2365 struct snd_pcm *pcm; local
2836 snd_pcm_oss_proc_init(struct snd_pcm *pcm) argument
2859 snd_pcm_oss_proc_done(struct snd_pcm *pcm) argument
2891 register_oss_dsp(struct snd_pcm *pcm, int index) argument
2903 snd_pcm_oss_register_minor(struct snd_pcm *pcm) argument
2934 snd_pcm_oss_disconnect_minor(struct snd_pcm *pcm) argument
2957 snd_pcm_oss_unregister_minor(struct snd_pcm *pcm) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Ddv.c109 uint8_t *pcm, ipcm; local
128 pcm = ppcm[ipcm++];
137 pcm = ppcm[ipcm++];
138 if (!pcm)
150 pcm[of*2] = frame[d+1]; // FIXME: maybe we have to admit
151 pcm[of*2+1] = frame[d]; // that DV is a big-endian PCM
152 if (pcm[of*2+1] == 0x80 && pcm[of*2] == 0x00)
153 pcm[of*2+1] = 0;
166 pcm[o
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/saa7134/
H A Dsaa7134-alsa.c28 #include <sound/pcm.h>
254 snd_card_saa7134_pcm_t *pcm = runtime->private_data; local
255 struct saa7134_dev *dev=pcm->dev;
338 snd_card_saa7134_pcm_t *pcm = runtime->private_data; local
340 pcm->dev->dmasound.substream = substream;
424 snd_card_saa7134_pcm_t *pcm = runtime->private_data; local
425 struct saa7134_dev *dev=pcm->dev;
466 snd_card_saa7134_pcm_t *pcm = runtime->private_data; local
468 kfree(pcm);
610 snd_card_saa7134_pcm_t *pcm; local
674 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm_memory.c28 #include <sound/pcm.h>
94 * @substream: the pcm substream instance
113 * snd_pcm_lib_preallocate_free_for_all - release all pre-allocated buffers on the pcm
114 * @pcm: the pcm instance
116 * Releases all the pre-allocated buffers on the given pcm.
120 int snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm) argument
126 for (substream = pcm->streams[stream].substream; substream; substream = substream->next)
209 if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) != NULL) {
220 if ((entry = snd_info_create_card_entry(substream->pcm
294 snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm, int type, void *data, size_t size, size_t max) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/arm/
H A Dsa11xx-uda1341.c89 #include <sound/pcm.h>
135 struct snd_pcm *pcm; member in struct:sa11xx_uda1341
813 struct snd_pcm *pcm; local
816 if ((err = snd_pcm_new(sa11xx_uda1341->card, "UDA1341 PCM", device, 1, 1, &pcm)) < 0)
824 snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
828 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_card_sa11xx_uda1341_playback_ops);
829 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_card_sa11xx_uda1341_capture_ops);
830 pcm->private_data = sa11xx_uda1341;
831 pcm->info_flags = 0;
832 strcpy(pcm
[all...]
H A Daaci.c30 #include <sound/pcm.h>
483 snd_ac97_pcm_close(aacirun->pcm);
508 err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
510 aacirun->pcm->r[0].slots);
512 err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
514 aacirun->pcm->r[1].slots);
854 snd_pcm_suspend_all(aaci->pcm);
970 aaci->playback.pcm = &ac97_bus->pcms[0];
971 aaci->capture.pcm = &ac97_bus->pcms[1];
1018 struct snd_pcm *pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dvorbisfile.c447 /* pcm offset of last packet on the first audio page */
720 /* update the pcm offset. */
727 (above), we know the pcm position of the *last* sample
1284 /* We can't get a guaranteed correct pcm position out of the
1397 /* which bitstream section does this pcm offset occur in? */
1486 /* found our page. seek to it, update pcm offset. Easier case than
1568 /* seek to a sample offset relative to the decompressed pcm stream
1664 /* seek to a playback time relative to the decompressed pcm stream
1687 /* enough information to convert time offset to pcm offset */
1717 /* enough information to convert time offset to pcm offse
1845 ov_read_filter(OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream, void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param) argument
1851 float **pcm; local
2007 float **pcm; local
2032 _ov_splice(float **pcm,float **lappcm, int n1, int n2, int ch1, int ch2, float *w1, float *w2) argument
2104 float **pcm; local
2144 float **pcm; local
2198 float **pcm; local
2259 float **pcm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/i2sbus/
H A Di2sbus-pcm.c2 * i2sbus driver -- pcm routines
846 static void i2sbus_private_free(struct snd_pcm *pcm) argument
848 struct i2sbus_dev *i2sdev = snd_pcm_chip(pcm);
851 i2sdev->sound.pcm = NULL;
874 printk(KERN_ERR "i2sbus: pcm name and id must be set!\n");
948 if (!dev->pcm) {
950 &dev->pcm);
952 printk(KERN_DEBUG "i2sbus: failed to create pcm\n");
955 dev->pcm->dev = &dev->ofdev.dev;
963 if (dev->pcm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgus_pcm.c678 snd_printk(KERN_ERR "gf1 pcm - serious DMA problem\n");
753 if (!pvoice->pcm)
817 struct snd_pcm *pcm; local
830 &pcm);
833 pcm->private_data = gus;
835 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_gf1_pcm_playback_ops);
837 for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substream->next)
842 pcm->info_flags = 0;
843 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
845 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTUR
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/examples/c/encode/file/
H A Dmain.c43 static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/]; variable
140 pcm[i] = (FLAC__int32)(((FLAC__int16)(FLAC__int8)buffer[2*i+1] << 8) | (FLAC__int16)buffer[2*i]);
143 ok = FLAC__stream_encoder_process_interleaved(encoder, pcm, need);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/examples/
H A Ddecoder_example.c227 float **pcm; local
234 **pcm is a multichannel float vector. In stereo, for
235 example, pcm[0] is left, and pcm[1] is right. samples is
239 while((samples=vorbis_synthesis_pcmout(&vd,&pcm))>0){
248 float *mono=pcm[i];

Completed in 305 milliseconds

12345678910