Searched refs:pcm (Results 1 – 9 of 9) sorted by relevance
134 SLAndroidDataFormat_PCM_EX pcm; in Open() local135 pcm.formatType = SL_ANDROID_DATAFORMAT_PCM_EX; in Open()136 pcm.numChannels = numChannels_; in Open()137 pcm.sampleRate = sampleRate_ * 1000; // milliHz in Open()138 pcm.bitsPerSample = 32; in Open()139 pcm.containerSize = 32; in Open()140 pcm.channelMask = chanCountToChanMask(numChannels_); in Open()141 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in Open()142 pcm.representation = SL_ANDROID_PCM_REPRESENTATION_FLOAT; in Open()146 recDest.pFormat = (void * ) &pcm; in Open()
79 SLDataFormat_PCM pcm; in TestPlayMusicBufferQueue() local146 pcm.formatType = SL_DATAFORMAT_PCM; in TestPlayMusicBufferQueue()147 pcm.numChannels = 2; in TestPlayMusicBufferQueue()148 pcm.samplesPerSec = SL_SAMPLINGRATE_44_1; in TestPlayMusicBufferQueue()149 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestPlayMusicBufferQueue()150 pcm.containerSize = 16; in TestPlayMusicBufferQueue()151 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in TestPlayMusicBufferQueue()152 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in TestPlayMusicBufferQueue()153 audioSource.pFormat = (void *)&pcm; in TestPlayMusicBufferQueue()
116 SLDataFormat_PCM pcm = { in open()122 SLAndroidDataFormat_PCM_EX pcm; in open() local123 pcm.formatType = useFloat ? SL_ANDROID_DATAFORMAT_PCM_EX : SL_DATAFORMAT_PCM; in open()124 pcm.numChannels = numChannels; in open()125 pcm.sampleRate = sampleRate * 1000; in open()126 pcm.bitsPerSample = useFloat ? in open()128 pcm.containerSize = pcm.bitsPerSample; in open()129 pcm.channelMask = channelMask; in open()130 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in open()132 pcm.representation = useFloat ? SL_ANDROID_PCM_REPRESENTATION_FLOAT in open()[all …]
107 SLAndroidDataFormat_PCM_EX pcm; in open() local108 pcm.formatType = useFloat ? SL_ANDROID_DATAFORMAT_PCM_EX : SL_DATAFORMAT_PCM; in open()109 pcm.numChannels = numChannels; in open()110 pcm.sampleRate = sampleRate * 1000; in open()111 pcm.bitsPerSample = useFloat ? in open()113 pcm.containerSize = pcm.bitsPerSample; in open()114 pcm.channelMask = channelMask; in open()115 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in open()117 pcm.representation = useFloat ? SL_ANDROID_PCM_REPRESENTATION_FLOAT in open()120 audioSource.pFormat = (void *)&pcm; in open()
209 SLDataFormat_PCM pcm; in AudioPlayerFromPcmBqCreation() local210 pcm.formatType = SL_DATAFORMAT_PCM; in AudioPlayerFromPcmBqCreation()211 pcm.numChannels = 2; in AudioPlayerFromPcmBqCreation()212 pcm.samplesPerSec = SL_SAMPLINGRATE_44_1; in AudioPlayerFromPcmBqCreation()213 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in AudioPlayerFromPcmBqCreation()214 pcm.containerSize = 16; in AudioPlayerFromPcmBqCreation()215 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in AudioPlayerFromPcmBqCreation()216 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in AudioPlayerFromPcmBqCreation()218 audioSource.pFormat = &pcm; in AudioPlayerFromPcmBqCreation()
103 pcm_* pcm = (pcm_*)mPcmHandle; in doStop() local104 ioctl(pcm->fd, SNDRV_PCM_IOCTL_DRAIN); in doStop()
40 struct pcm* mPcmHandle;
441 private int computeEnergy(byte[] data, boolean pcm) { in computeEnergy() argument444 if (pcm) { in computeEnergy()