search for: snd_pcm_hw_param

Displaying 7 results from an estimated 7 matches for "snd_pcm_hw_param".

Did you mean: snd_pcm_hw_params
2003 Mar 26
1
libao alsa output
...the code is trying to do. patch: --- /var/tmp/portage/libao-0.8.3/work/libao-0.8.3/src/plugins/alsa09/ ao_alsa09.c 2001-12-19 07:39:24.000000000 +0900 +++ ao_alsa09.c 2003-03-23 17:30:40.000000000 +0900 @@ -192,18 +192,6 @@ if (err < 0) goto error; - cmd = "snd_pcm_hw_params_set_period_size"; - err = snd_pcm_hw_params_set_period_size(internal->pcm_handle, hwparams, - internal->buf_size / internal->sample_size, 0); - if (err < 0) - goto error; - - cmd = "snd_pcm_hw_params_set_periods"; - err = snd_pcm_hw_params_set_periods(internal->p...
2008 Nov 07
0
fix focus and alsa for gps software
...e = 20000; snd_pcm_uframes_t buffer_size; snd_pcm_uframes_t period_size; int flags; @@ -753,9 +753,9 @@ static DWORD wodOpen(WORD wDevID, LPWAVE ALSA_getFormat(wwo->format.Format.wFormatTag)); dir=0; - EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params, &buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time"); + //EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params, &buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time");...
2007 Jan 29
0
3 commits - autogen.sh configure.ac player/.gitignore player/Makefile.am player/swfdec_playback_alsa.c player/swfdec_playback.c player/swfdec_playback_none.c
...eam)) { - ALSA_ERROR (snd_pcm_start (stream->pcm), "error starting",); - swfdec_stream_install_handlers (stream); - } - break; - default: - break; - } -} - -static void -swfdec_stream_open (Sound *sound, SwfdecAudio *audio) -{ - Stream *stream; - snd_pcm_t *ret; - snd_pcm_hw_params_t *hw_params; - unsigned int rate; - snd_pcm_uframes_t uframes; - - /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ - ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), - "Failed to open soun...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...eam)) { - ALSA_ERROR (snd_pcm_start (stream->pcm), "error starting",); - swfdec_stream_install_handlers (stream); - } - break; - default: - break; - } -} - -static void -swfdec_stream_open (Sound *sound, SwfdecAudio *audio) -{ - Stream *stream; - snd_pcm_t *ret; - snd_pcm_hw_params_t *hw_params; - unsigned int rate; - snd_pcm_uframes_t uframes; - - /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ - ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), - "Failed to open soun...
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...eam)) { + ALSA_ERROR (snd_pcm_start (stream->pcm), "error starting",); + swfdec_stream_install_handlers (stream); + } + break; + default: + break; + } +} + +static void +swfdec_stream_open (Sound *sound, SwfdecAudio *audio) +{ + Stream *stream; + snd_pcm_t *ret; + snd_pcm_hw_params_t *hw_params; + unsigned int rate; + snd_pcm_uframes_t uframes; + + /* "default" uses dmix, and dmix ticks way slow, so this thingy here stutters */ + ALSA_ERROR (snd_pcm_open (&ret, "default", SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK), + "Failed to open soun...