Home
last modified time | relevance | path

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

12

/third_party/alsa-lib/test/
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()
Dpcm_min.c20 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
Daudio_time.c179 if ((err = snd_pcm_open(&handle_p, pcm_name, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
248 if ((err = snd_pcm_open(&handle_c, pcm_name, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)) < 0) { in main()
Dchmap.c197 if (snd_pcm_open(&pcm, device, stream, SND_PCM_NONBLOCK) < 0) { in main()
Dpcm-multi-thread.c216 err = snd_pcm_open(&pcm, devname, stream, 0); in main()
Dlatency.c592 …if ((err = snd_pcm_open(&phandle, pdevice, SND_PCM_STREAM_PLAYBACK, block ? 0 : SND_PCM_NONBLOCK))… in main()
596 …if ((err = snd_pcm_open(&chandle, cdevice, SND_PCM_STREAM_CAPTURE, block ? 0 : SND_PCM_NONBLOCK)) … in main()
Dseq-sender.c212 if ((err = snd_pcm_open(&phandle, "default", SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in event_sender()
Dpcm.c882 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
/third_party/alsa-lib/
DNOTES43 The default behavior of blocking at snd_pcm_open is changed to
44 non-blocking since version 1.0.11. That is, snd_pcm_open() returns
49 flag argument of snd_pcm_open() as well as the former version.
/third_party/pulseaudio/src/tests/
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/flutter/skia/third_party/externals/sdl/src/audio/qsa/
DSDL_qsa_audio.c372 status = snd_pcm_open(&this->hidden->audio_handle, in QSA_OpenDevice()
618 snd_pcm_open(&handle, it, devices, in QSA_DetectDevices()
676 snd_pcm_open(&handle, it, devices, in QSA_DetectDevices()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c46 n = snd_pcm_open(pcm, "default", type, SND_PCM_NONBLOCK); in set_hw_params()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsadeviceprovider.c56 if (snd_pcm_open (&handle, device_name, stream, SND_PCM_NONBLOCK) < 0) { in add_device()
Dgstalsa.c475 res = snd_pcm_open (&pcm, iec958_pcm_name, SND_PCM_STREAM_PLAYBACK, 0); in gst_alsa_open_iec958_pcm()
Dgstalsasrc.c776 CHECK (snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_CAPTURE, in gst_alsasrc_open()
Dgstalsasink.c874 CHECK (snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_PLAYBACK, in gst_alsasink_open()
/third_party/alsa-utils/bat/
Dalsa.c449 err = snd_pcm_open(&sndpcm.handle, bat->playback.device, in playback_alsa()
685 err = snd_pcm_open(&sndpcm.handle, bat->capture.device, in record_alsa()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c135 n = snd_pcm_open(pcm, "default", type, SND_PCM_NONBLOCK); in set_hw_params()
/third_party/ffmpeg/libavdevice/
Dalsa.c195 res = snd_pcm_open(&h, audio_device, mode, flags); in ff_alsa_open()
/third_party/libsnd/programs/
Dsndfile-play.c167 if ((err = snd_pcm_open (&alsa_dev, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) in alsa_open()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/alsa/
DSDL_alsa_audio.c124 SDL_ALSA_SYM(snd_pcm_open); in load_alsa_syms()
/third_party/alsa-utils/axfer/
Dxfer-libasound.c277 err = snd_pcm_open(&state->handle, state->node_literal, xfer->direction, in open_handle()
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c1175 if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
/third_party/alsa-lib/aserver/
Daserver.c288 err = snd_pcm_open(&pcm, client->name, client->stream, SND_PCM_NONBLOCK); in pcm_shm_open()
/third_party/alsa-lib/include/
Dpcm.h504 int snd_pcm_open(snd_pcm_t **pcm, const char *name,

12