/external/bluetooth/bluez/sbc/ |
sbcdec.c | 53 int format = AFMT_S16_BE, frequency, channels; local 104 channels = sbc.mode == SBC_MODE_MONO ? 1 : 2; 143 au_hdr.channels = BE_INT(channels); 157 if (ioctl(ad, SNDCTL_DSP_CHANNELS, &channels) < 0) { 158 fprintf(stderr, "Can't set number of channels on %s: %s\n",
|
sbc.c | 65 uint8_t channels; member in struct:sbc_frame 170 for (ch = 0; ch < frame->channels; ch++) { 405 frame->channels = 1; 410 frame->channels = 2; 453 if (len * 8 < consumed + (4 * frame->subbands * frame->channels)) 456 for (ch = 0; ch < frame->channels; ch++) { 474 for (ch = 0; ch < frame->channels; ch++) { 480 for (ch = 0; ch < frame->channels; ch++) { 642 for (ch = 0; ch < frame->channels; ch++) { 649 for (ch = 0; ch < frame->channels; ch++) 1149 uint8_t subbands, channels, blocks, joint, bitpool; local 1212 uint16_t subbands, channels, blocks; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/amigaos/ |
SDL_ahiaudio.c | 234 if(spec->channels<2) 245 if(spec->channels<2) 258 if(spec->channels!=1 && spec->channels!=2) 333 D(bug("AHI opened: freq:%ld mixbuf:%lx/%lx buflen:%ld bits:%ld channels:%ld\n",spec->freq,mixbuf[0],mixbuf[1],spec->size,this->hidden->bytespersample*8,spec->channels));
|
/external/webkit/WebKit/chromium/src/ |
WebWorkerBase.cpp | 157 PassOwnPtr<MessagePortChannelArray> channels) 160 message->toWireString(), channels)); 166 PassOwnPtr<MessagePortChannelArray> channels) 171 WebMessagePortChannelArray webChannels(channels.get() ? channels->size() : 0); 173 webChannels[i] = (*channels)[i]->channel()->webChannelRelease();
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
Channel.java | 17 package java.nio.channels; 26 * Channels are open upon creation, and can be closed explicitly. Once a channel
|
InterruptibleChannel.java | 17 package java.nio.channels; 22 * Channels that implement this interface can be asynchronously closed and
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
LockManager.java | 19 import java.nio.channels.FileLock; 20 import java.nio.channels.OverlappingFileLockException;
|
FileChannelImpl.java | 33 import java.nio.channels.ClosedChannelException; 34 import java.nio.channels.FileChannel; 35 import java.nio.channels.FileLock; 36 import java.nio.channels.NonWritableChannelException; 37 import java.nio.channels.ReadableByteChannel; 38 import java.nio.channels.WritableByteChannel; 47 * The file channel impl class is the bridge between the logical channels 105 * @see java.nio.channels.spi.AbstractInterruptibleChannel#implCloseChannel() 137 * @see java.nio.channels.FileChannel#lock(long, long, boolean) 160 * @see java.nio.channels.FileChannel#tryLock(long, long, boolean [all...] |
DatagramChannelImpl.java | 36 import java.nio.channels.AlreadyConnectedException; 37 import java.nio.channels.ClosedChannelException; 38 import java.nio.channels.DatagramChannel; 39 import java.nio.channels.IllegalBlockingModeException; 40 import java.nio.channels.NotYetConnectedException; 41 import java.nio.channels.spi.SelectorProvider; 51 * The default implementation class of java.nio.channels.DatagramChannel. 141 * @see java.nio.channels.DatagramChannel#isConnected() 149 * @see java.nio.channels.DatagramChannel#connect(java.net.SocketAddress) 194 * @see java.nio.channels.DatagramChannel#disconnect( [all...] |
/external/kernel-headers/original/linux/ |
dmaengine.h | 82 * struct dma_chan - devices supply DMA channels, clients use them 146 * @lock: protects access to the channels list 147 * @channels: the list of DMA channels allocated 156 struct list_head channels; member in struct:dma_client 162 * @chancnt: how many DMA channels are supported 163 * @channels: the list of struct dma_chan 180 struct list_head channels; member in struct:dma_device
|
/external/opencore/protocols/sdp/common/include/ |
payload_info.h | 48 inline void setNoOfChannels(int channels) 50 noOfChannels = channels;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
SDL_dmaaudio.c | 289 value = (spec->channels > 1); 292 SDL_SetError("Couldn't set audio channels"); 395 /* Set mono or stereo audio (currently only two channels supported) */ 396 stereo = (spec->channels > 1); 399 spec->channels = 2; 401 spec->channels = 1; 406 once we know what format and channels are supported 420 spec->samples /= spec->channels;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
SDL_romaudio.c | 235 sample_bits = spec->size / spec->samples / spec->channels * 8; 239 "Audio format 0x%x, channels = %d, sample_bits = %d, frequency = %d\n", 240 spec->format, spec->channels, sample_bits, spec->freq); 243 header.numChannels = spec->channels; 271 if ( spec->channels >= 2 ) { 436 sample_bits = spec->size / spec->samples / spec->channels * 8; 438 audio_dbh.dbhNumChannels = spec->channels; 471 if ( spec->channels >= 2 ) {
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_gsxb.c | 214 DEBUG_PRINT(("channels=%d, ", spec->channels)); 217 if (spec->channels > 2) { 218 spec->channels = 2; /* no more than stereo! */ 314 DEBUG_PRINT(("channels=%d, ", spec->channels)); 335 if (spec->channels==2) { 342 if (spec->channels==2) {
|
SDL_mintaudio_xbios.c | 342 DEBUG_PRINT(("channels=%d, ", spec->channels)); 345 if (spec->channels > 2) { 346 spec->channels = 2; /* no more than stereo! */ 352 spec->channels=2; /* 16 bits always stereo */ 384 DEBUG_PRINT(("channels=%d, ", spec->channels)); 409 if (spec->channels==2) {
|
/external/tremolo/Tremolo/ |
dsp.c | 73 v->work=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->work)); 74 v->mdctright=(ogg_int32_t **)_ogg_malloc(vi->channels*sizeof(*v->mdctright)); 75 for(i=0;i<vi->channels;i++){ 101 for(i=0;i<vi->channels;i++) 106 for(i=0;i<vi->channels;i++) 152 for(i=0;i<vi->channels;i++) 157 pcm+i,vi->channels, 228 for(i=0;i<vi->channels;i++)
|
/external/webkit/WebCore/workers/ |
DedicatedWorkerContext.cpp | 68 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, ec); 71 thread()->workerObjectProxy().postMessageToWorkerObject(message, channels.release());
|
/frameworks/base/docs/html/resources/ |
community-more.jd | 9 <p>Several IRC channels are available for discussions about developing Android applications.</p> 27 <p>If you haven't used IRC before, check <a href="http://en.wikipedia.org/wiki/List_of_IRC_clients">http://en.wikipedia.org/wiki/List_of_IRC_clients »</a> for a helpful list of IRC clients. Alternatively, you could also use this <a href="http://java.freenode.net/index.php?channel=android-dev">web interface »</a>, which does not require any installation, to join discussions on the Android IRC channels. </p>
|
/frameworks/base/libs/audioflinger/ |
A2dpAudioInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 64 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); 78 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 106 return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 242 if (lChannels == 0) lChannels = channels(); 247 (lChannels != channels()) || 250 if (pChannels) *pChannels = channels();
|
/frameworks/base/media/libmedia/ |
IAudioPolicyService.cpp | 126 uint32_t channels, 134 data.writeInt32(channels); 172 uint32_t channels, 180 data.writeInt32(channels); 307 uint32_t channels = data.readInt32(); local 313 channels, 347 uint32_t channels = data.readInt32(); local 352 channels,
|
/frameworks/base/media/libstagefright/ |
AudioSource.cpp | 28 int inputSource, uint32_t sampleRate, uint32_t channels) 30 inputSource, sampleRate, AudioSystem::PCM_16_BIT, channels)),
|
/external/libpng/contrib/pngminus/ |
pnm2png.c | 204 int channels; local 318 /* calculate the number of channels and store alpha-presence */ 320 channels = 1; 322 channels = 2; 324 channels = 3; 326 channels = 4; 328 channels = 0; /* should not happen */ 330 alpha_present = (channels - 1) % 2; 332 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 333 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2) [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 29 import java.nio.channels.ClosedChannelException; 30 import java.nio.channels.ClosedSelectorException; 31 import java.nio.channels.SelectionKey; 32 import java.nio.channels.Selector; 33 import java.nio.channels.ServerSocketChannel; 34 import java.nio.channels.SocketChannel; 35 import java.nio.channels.Pipe; 36 import java.nio.channels.spi.SelectorProvider; 101 * @tests java.nio.channels.Selector#open( [all...] |
/external/opencore/extern_libs_v2/khronos/openmax/include/ |
OMX_Audio.h | 172 #define OMX_AUDIO_MAXCHANNELS 16 /**< maximum number distinct audio channels that a buffer may contain */ 180 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ 198 OMX_AUDIO_ChannelModeStereo = 0, /**< 2 channels, the bitrate allocation between those 199 two channels changes accordingly to each channel information */ 201 2 channels for higher compression gain */ 202 OMX_AUDIO_ChannelModeDual, /**< 2 mono-channels, each channel is encoded with half 225 OMX_U32 nChannels; /**< Number of channels */ 295 OMX_U32 nChannels; /**< Number of channels */ 318 OMX_U32 nChannels; /**< Number of channels */ 371 OMX_U16 nChannels; /**< Number of channels */ [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
OMX_Audio.h | 155 #define OMX_AUDIO_MAXCHANNELS 16 /**< maximum number distinct audio channels that a buffer may contain */
163 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */
181 OMX_AUDIO_ChannelModeStereo = 0, /**< 2 channels, the bitrate allocation between those
182 two channels changes accordingly to each channel information */
184 2 channels for higher compression gain */
185 OMX_AUDIO_ChannelModeDual, /**< 2 mono-channels, each channel is encoded with half
208 OMX_U32 nChannels; /**< Number of channels */
278 OMX_U32 nChannels; /**< Number of channels */
301 OMX_U32 nChannels; /**< Number of channels */
354 OMX_U16 nChannels; /**< Number of channels */
[all...] |