Displaying 3 results from an estimated 3 matches for "ao_internal_t".
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...sa.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_len;
+ char *samples = (char *) output_samples;
while (packed < num_bytes)
{
@@ -203,9 +203,7 @@
else...
2000 Dec 27
1
ao_arts
Hi,
I've written an ao plugin for aRts, the soundserver that comes with KDE.
Any chance of including this in the ao distribution ? Pretty please ? :)
Sources and patches attached. This is a very simple plugin because it
uses the easy-to-use 'artsc' C wrapper that aRts installs.
configure.in.diff is for ao/configure.in
Makefile.am.diff is for ao/src/plugins/Makefile.am
Makefile.am
2001 Mar 16
3
Patches for NetBSD
...first try the devfs path */
- state->dev = strdup("/dev/sound/dsp");
+ state->dev = strdup("/dev/audio");
state->fd=open(state->dev,O_WRONLY);
if(state->fd < 0)
{
@@ -198,7 +198,7 @@
int plugin_get_latency(ao_internal_t *state)
{
int odelay = 0;
- ioctl(((ao_oss_internal_t *)state)->fd, SNDCTL_DSP_GETODELAY, &odelay);
+/* ioctl(((ao_oss_internal_t *)state)->fd, SNDCTL_DSP_GETODELAY, &odelay); */
return odelay;
}
$NetBSD: patch-ac,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $
--- ../l...