Searched refs:format_pcm (Results 1 – 4 of 4) sorted by relevance
42 SLDataFormat_PCM format_pcm; in main() local43 format_pcm.formatType = SL_DATAFORMAT_PCM; in main()44 format_pcm.numChannels = 2; in main()45 format_pcm.samplesPerSec = SL_SAMPLINGRATE_44_1; in main()46 format_pcm.bitsPerSample = 16; in main()47 format_pcm.containerSize = 16; in main()48 format_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in main()49 format_pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in main()52 audioSrc.pFormat = &format_pcm; in main()109 format_pcm.numChannels = 0; in main()[all …]
107 SLDataFormat_PCM format_pcm; in main() local108 format_pcm.formatType = SL_DATAFORMAT_PCM; in main()109 format_pcm.numChannels = format->numChannels; in main()110 format_pcm.samplesPerSec = format->milliHz; in main()111 format_pcm.bitsPerSample = format->bitsPerSample; in main()112 format_pcm.containerSize = format->bitsPerSample; in main()113 format_pcm.channelMask = 0; in main()114 format_pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in main()117 audioSrc.pFormat = &format_pcm; in main()
374 SLAndroidDataFormat_PCM_EX format_pcm; in main() local375 format_pcm.formatType = transferFormat == AUDIO_FORMAT_PCM_FLOAT in main()377 format_pcm.numChannels = sfinfo.channels; in main()378 format_pcm.sampleRate = sfinfo.samplerate * 1000; in main()379 format_pcm.bitsPerSample = bitsPerSample; in main()380 format_pcm.containerSize = format_pcm.bitsPerSample; in main()381 format_pcm.channelMask = 1 == format_pcm.numChannels ? SL_SPEAKER_FRONT_CENTER : in main()383 format_pcm.endianness = byteOrder; in main()384 format_pcm.representation = transferFormat == AUDIO_FORMAT_PCM_FLOAT in main()390 audioSrc.pFormat = &format_pcm; in main()
163 SLDataFormat_PCM format_pcm = { in createBufferQueueAudioPlayer() local172 SLDataSource audioSrc = {&loc_bufq, &format_pcm}; in createBufferQueueAudioPlayer()