Home
last modified time | relevance | path

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

/third_party/alsa-lib/test/
H A Domixer.c59 err = snd_pcm_open(&phandle, pname, SND_PCM_STREAM_PLAYBACK, 0); in main()
68 err = snd_pcm_open(&chandle, cname, SND_PCM_STREAM_CAPTURE, 0); in main()
H A Dpcm_min.c20 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
H A Daudio_time.c182 if ((err = snd_pcm_open(&handle_p, pcm_name, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
251 if ((err = snd_pcm_open(&handle_c, pcm_name, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)) < 0) { in main()
H A Dchmap.c198 if (snd_pcm_open(&pcm, device, stream, SND_PCM_NONBLOCK) < 0) { in main()
H A Dpcm-multi-thread.c216 err = snd_pcm_open(&pcm, pcmdev, stream, 0); in main()
H A Dlatency.c710 if ((err = snd_pcm_open(&phandle, pdevice, SND_PCM_STREAM_PLAYBACK, block ? 0 : SND_PCM_NONBLOCK)) < 0) { in main()
714 if ((err = snd_pcm_open(&chandle, cdevice, SND_PCM_STREAM_CAPTURE, block ? 0 : SND_PCM_NONBLOCK)) < 0) { in main()
H A Dseq-sender.c212 if ((err = snd_pcm_open(&phandle, "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in event_sender()
H A Dpcm.c888 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
/third_party/pulseaudio/src/tests/
H A Dalsa-time-test.c69 r = snd_pcm_open(&pcm, dev, SND_PCM_STREAM_PLAYBACK, 0); in main()
71 r = snd_pcm_open(&pcm, dev, SND_PCM_STREAM_CAPTURE, 0); in main()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-audio/
H A Daudio.c46 n = snd_pcm_open(pcm, "default", type, SND_PCM_NONBLOCK); in set_hw_params()
/third_party/alsa-utils/bat/
H A Dalsa.c451 err = snd_pcm_open(&sndpcm.handle, bat->playback.device, in playback_alsa()
687 err = snd_pcm_open(&sndpcm.handle, bat->capture.device, in record_alsa()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
H A Daudio.c135 n = snd_pcm_open(pcm, "default", type, SND_PCM_NONBLOCK); in set_hw_params()
/third_party/ffmpeg/libavdevice/
H A Dalsa.c200 res = snd_pcm_open(&h, audio_device, mode, flags); in ff_alsa_open()
/third_party/alsa-utils/axfer/
H A Dxfer-libasound.c277 err = snd_pcm_open(&state->handle, state->node_literal, xfer->direction, in open_handle()
/third_party/libsnd/programs/
H A Dsndfile-play.c167 if ((err = snd_pcm_open (&alsa_dev, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) in alsa_open()
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c1225 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
/third_party/alsa-lib/aserver/
H A Daserver.c289 err = snd_pcm_open(&pcm, client->name, client->stream, SND_PCM_NONBLOCK); in pcm_shm_open()
/third_party/alsa-lib/include/
H A Dpcm.h521 int snd_pcm_open(snd_pcm_t **pcm, const char *name,
/third_party/alsa-lib/src/pcm/
H A Dpcm_share.c1475 err = snd_pcm_open(&spcm, sname, stream, mode); in snd_pcm_share_open()
H A Dpcm.c128 \a mode argument in #snd_pcm_open() function.
144 mode for #snd_pcm_open() function and
154 The PCM device is in the open state. After the #snd_pcm_open() open call,
523 is passed to #snd_pcm_open() or #snd_pcm_open_lconf().
734 * identifier specified in snd_pcm_open().
2744 int snd_pcm_open(snd_pcm_t **pcmp, const char *name, in snd_pcm_open() function
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-util.c702 if ((err = snd_pcm_open(&pcm_handle, d, mode, in pa_alsa_open_by_device_string()
H A Dalsa-sink.c1216 * the unsuspend() to try to recover the PCM, this will make the snd_pcm_open() fail, here in unsuspend()
1220 if ((err = snd_pcm_open(&u->pcm_handle, device_name ? device_name : u->device_name, SND_PCM_STREAM_PLAYBACK, in unsuspend()
H A Dalsa-source.c1091 * the unsuspend() to try to recover the PCM, this will make the snd_pcm_open() fail, here in unsuspend()
1095 if ((err = snd_pcm_open(&u->pcm_handle, u->device_name, SND_PCM_STREAM_CAPTURE, in unsuspend()
/third_party/alsa-utils/alsaloop/
H A Dpcmjob.c1295 err = snd_pcm_open(&lhandle->handle, lhandle->device, stream, SND_PCM_NONBLOCK); in openit()
/third_party/alsa-utils/aplay/
H A Daplay.c848 err = snd_pcm_open(&handle, pcm_name, stream, open_mode);

Completed in 42 milliseconds