search for: pcm_handle

Displaying 2 results from an estimated 2 matches for "pcm_handle".

Did you mean: pam_handle
2003 Mar 26
1
libao alsa output
...ns/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->pcm_handle, hwparams, - internal->periods * format->channels, 0); - if (err < 0)...
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...===== RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/libao/ao_alsa.c,v retrieving revision 1.1 diff -u -r1.1 ao_alsa.c --- vorbis-tools/libao/ao_alsa.c 2000/07/22 01:57:05 1.1 +++ vorbis-tools/libao/ao_alsa.c 2000/08/13 00:30:01 @@ -38,7 +38,7 @@ typedef struct ao_alsa_internal_s { snd_pcm_t *pcm_handle; - void *buf; + char *buf; int buf_size; int buf_end; int card; @@ -191,9 +191,9 @@ ao_alsa_play (ao_internal_t *state, void* output_samples, uint_32 num_bytes) { ao_alsa_internal_t *s = (ao_alsa_internal_t *) state; - snd_pcm_t *pcm_handle = s->pcm_handle; int packed = 0; int copy...