Displaying 20 results from an estimated 23 matches for "audio_out".
2000 Sep 05
1
[kcarnold@xiph.org: [xiph-cvs] cvs commit: vorbis/vorbis-tools/libao ao_alsa.c ao_oss.c audio_out.c audio_out.h]
...ot;ao" module, so copy the
changes...
jack.
----- Forwarded message from "Kenneth C. Arnold" <kcarnold@xiph.org> -----
Delivered-To: cvs-outgoing@xiph.org
Delivered-To: cvs@xiph.org
To: cvs@xiph.org
Subject: [xiph-cvs] cvs commit: vorbis/vorbis-tools/libao ao_alsa.c ao_oss.c audio_out.c audio_out.h
Date: Tue, 5 Sep 2000 14:38:49 -0700 (PDT)
From: kcarnold@xiph.org (Kenneth C. Arnold)
Precedence: bulk
Reply-To: cvs@xiph.org
kcarnold 00/09/05 14:38:48
Modified: vorbis-tools/libao Tag: branch_postbeta2 ao_alsa.c ao_oss.c
audio_out.c audio_out.h...
2001 Mar 09
6
Problem compiling ogg on OpenBSD-2.7
Hi,
I have downloaded the following files
libao-0.6.0.tar.gz
libogg-1.0beta4.tar.gz
libvorbis-1.0beta4.tar.gz
vorbis-tools-1.0beta4.tar.gz
as said from the download section. But I'm at a loss to what do after
that. I don't have much experience/knowledge in compiling etc, but I
still want to try out ogg. (I downloaded the source coz I have an OpenBSD
machine, and there was no
2009 Oct 06
0
[ao] Two patches for libao2
...libao
>
> --
> Heikki Orsila
> heikki.orsila at iki.fi
> http://www.iki.fi/shd
> From 19f07a23f4f9e641e9d208930a346c3642c2869b Mon Sep 17 00:00:00 2001
> From: Heikki Orsila <heikki.orsila at iki.fi>
> Date: Sun, 30 Aug 2009 22:49:57 +0300
> Subject: [PATCH 1/2] audio_out: Handle strdup()'s return value correctly [CORRECTIVE]
>
> ---
> src/audio_out.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/audio_out.c b/src/audio_out.c
> index 88660c0..6e39047 100644
> --- a/src/audio_out.c
> +++ b/src/audi...
2001 Oct 23
4
Problems compiling under OS X
...;.
> /bin/sh ../libtool --mode=compile cc -DPACKAGE=\"libao\"
> -DVERSION=\"0.8.0\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
> -I. -I. -I.. -I../include -O20 -D__NO_MATH_INLINES -fsigned-char -g
> -O2 -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c
> cc -DPACKAGE=\"libao\" -DVERSION=\"0.8.0\" -DSIZEOF_SHORT=2
> -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I.. -I../include -O20
> -D__NO_MATH_INLINES -fsigned-char -g -O2
> -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -c audio_out.c -o audio_out.o
> cc: unr...
2001 May 08
2
libao AU driver
...=================================================
RCS file: /usr/local/cvsroot/ao/src/Makefile.am,v
retrieving revision 1.5
diff -u -r1.5 Makefile.am
--- src/Makefile.am 2001/05/06 00:13:59 1.5
+++ src/Makefile.am 2001/05/09 01:39:18
@@ -7,7 +7,7 @@
lib_LTLIBRARIES = libao.la
-libao_la_SOURCES = audio_out.c ao_raw.c ao_wav.c ao_null.c
+libao_la_SOURCES = audio_out.c ao_au.c ao_raw.c ao_wav.c ao_null.c
libao_la_LDFLAGS = -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
Index: src/audio_out.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/...
2001 May 11
2
artifact bug status? / compiling under OpenBSD 2.8
...ibtool in esd, but it
continues. Later, in arts, I get the following:
gcc -DPACKAGE=\"libao\" -DVERSION=\"0.6.0\" -DSIZEOF_SHORT=2
-DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I.. -I../include -O20
-D__NO_MATH_INLINES -fsigned-char -DAO_PLUGIN_PATH=\"/usr/local/lib/ao\"
-c audio_out.c -fPIC -DPIC -o audio_out.lo
audio_out.c: In function `_get_plugin':
audio_out.c:66: `RTLD_NOW' undeclared (first use in this function)
audio_out.c:66: (Each undeclared identifier is reported only once
audio_out.c:66: for each function it appears in.)
*** Error code 1
Stop in /usr/src/OG...
2000 Aug 12
1
libao patch: Minor clean up / Byte-order proposal
...@ -59,7 +59,7 @@
static void
ao_null_close (ao_internal_t *state)
{
- fprintf(stderr, "ao_null: %d bytes sent to null device.\n",
+ fprintf(stderr, "ao_null: %ld bytes sent to null device.\n",
((ao_null_internal_t *) state)->byte_counter);
}
Index: vorbis-tools/libao/audio_out.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/libao/audio_out.c,v
retrieving revision 1.1
diff -u -r1.1 audio_out.c
--- vorbis-tools/libao/audio_out.c 2000/07/22 01:57:05 1.1
+++ vorbis-tools/libao/audio_out.c 2000/08/13 00:30...
2000 Dec 15
2
Makefile patches
...eone review those patches, and/or commit them?
(we are working at the CVS head these days, no?)
I cannot build in Solaris without gcc/gmake, for example -- running
"autogen.sh" in the ao project with the native Solaris compilers causes
barfage on the first file that it tries to compile (audio_out.c) because
the gcc-specific options "-Wp,-MD,.deps/audio_out.pp" are automatically
insertted on the compile line.
{+} Jeff Squyres
{+} squyres@cse.nd.edu
{+} Perpetual Obsessive Notre Dame Student Craving Utter Madness
{+} "I came to ND for 4 years and ended up staying for a decade&...
2001 Nov 05
2
libao on OS X
...is broken.
1) on OS X, dll's en in .dylib, not .so, as is hardwired in. this should
be an easy fix.
2) dlopen chokes on opening the .dylib files...so the plugin is never
loaded. i know not enought of dlopen on OS X to be of much help here,
beyond tracing it to that call
(in _get_plugin() in audio_out.c)
any ideas?
also, though i probably should be, i'm not subscribed to this list. please
cc: any correspondance to me, if you would.
have fun
dongoodman
%-----------------------------------------------deg3@msstate.edu|
|`I invented the term 'object oriented',...
2001 Nov 05
2
libao on OS X
...is broken.
1) on OS X, dll's en in .dylib, not .so, as is hardwired in. this should
be an easy fix.
2) dlopen chokes on opening the .dylib files...so the plugin is never
loaded. i know not enought of dlopen on OS X to be of much help here,
beyond tracing it to that call
(in _get_plugin() in audio_out.c)
any ideas?
also, though i probably should be, i'm not subscribed to this list. please
cc: any correspondance to me, if you would.
have fun
dongoodman
%-----------------------------------------------deg3@msstate.edu|
|`I invented the term 'object oriented',...
2001 Mar 16
3
Patches for NetBSD
...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 $
--- ../libao-0.6.0.orig/src/audio_out.c Fri Feb 23 17:31:46 2001
+++ src/audio_out.c Thu Mar 15 10:21:55 2001
@@ -63,7 +63,7 @@
driver_tree_t *dt;
void *handle;
- handle = dlopen(plugin_file, RTLD_NOW);
+ handle = dlopen(plugin_file, DL_LAZY);
if (handle) {
dt = (driver_tree_t *)mal...
2004 Oct 22
0
libao-0.8.5 patch
...TTLE,
0,
NULL, /* No options */
@@ -131,7 +132,10 @@
static int ao_wav_set_option(ao_device *device, const char *key,
const char *value)
{
- return 1; /* No options! */
+ if (!strcmp(key, "file"))
+ return 1;
+
+ return 0; /* No options! */
}
diff -ur libao-0.8.5/src/audio_out.c libao-0.8.5.new/src/audio_out.c
--- libao-0.8.5/src/audio_out.c 2004-03-09 16:35:41.000000000 +0100
+++ libao-0.8.5.new/src/audio_out.c 2004-10-22 12:41:42.000000000 +0200
@@ -491,7 +491,7 @@
if (!funcs->set_option(device, options->key, options->value)) {
/* Problem setting option...
2000 Sep 29
1
ao/
...le.am: kludgey made it compile by manually specifying which
modules to compile. Putting in @LIBAO_FILES@ just didn't work, even though
I added the EXTRA_libao_la_SOURCES files. Somebody who knows more please
point out the error(s) in my ways.
* src/*.c (not quite yet...) -- #include "audio_out.h" is now
#include <ao/ao.h>
Kenneth
(_finally_ finding a spare moment to work on something I _want_ to work on)
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-de...
2001 Nov 05
1
libao and OS X
...dynamic plugins!
The first reason I found is that libao expects plugins to have the
extension ".so"; on OS X, dynamic libraries have the extension ".dylib"
Second problem, and one I cannot fix, dlopen() refuses to open the plugins.
See
the call to dlopen() in _get_plugin() in audio_out.c, line 101 or
thereabouts.
Any ideas what's going on? I have not the knowledge to deal with this.
Also, I'm not currently subscribed to vorbis-dev (though I am to vorbis),
so if any replies could be cc'd: deg3@msstate.edu, it would be much
appreciated.
thanks in advance
have fun...
2001 Nov 05
1
libao and OS X
...dynamic plugins!
The first reason I found is that libao expects plugins to have the
extension ".so"; on OS X, dynamic libraries have the extension ".dylib"
Second problem, and one I cannot fix, dlopen() refuses to open the plugins.
See
the call to dlopen() in _get_plugin() in audio_out.c, line 101 or
thereabouts.
Any ideas what's going on? I have not the knowledge to deal with this.
Also, I'm not currently subscribed to vorbis-dev (though I am to vorbis),
so if any replies could be cc'd: deg3@msstate.edu, it would be much
appreciated.
thanks in advance
have fun...
2002 Jul 27
0
libao patch
...Only in libao-0.8.2-new/src: ao_au.o
Only in libao-0.8.2-new/src: ao_null.lo
Only in libao-0.8.2-new/src: ao_null.o
Only in libao-0.8.2-new/src: ao_raw.lo
Only in libao-0.8.2-new/src: ao_raw.o
Only in libao-0.8.2-new/src: ao_wav.lo
Only in libao-0.8.2-new/src: ao_wav.o
Only in libao-0.8.2-new/src: audio_out.lo
Only in libao-0.8.2-new/src: audio_out.o
Only in libao-0.8.2-new/src: config.lo
Only in libao-0.8.2-new/src: config.o
Only in libao-0.8.2-new/src: libao.la
Only in libao-0.8.2-new/src/plugins: Makefile
Only in libao-0.8.2-new/src/plugins/alsa: Makefile
Only in libao-0.8.2-new/src/plugins/alsa09:...
2000 Nov 22
1
Non-gcc build problems
...can provide a script (an icky
solution, I know, but the automake docs even acknowledge that their
solution is not) that does the Right Things for "make depend". We use
it in the LAM/MPI project, and it seems to be portable.
ao module
=========
- Lines 284 and 307 of ao/src/audio_out.c contain C++ comments, which
make some compilers choke (e.g., sun Forte 6). Although C++-style
comments are now part of the C standard, it will take a while for
vendors to catch up. To be as portable as possible, C++ style
comments should not be used in C code for a while yet. The same thing
al...
2003 Jan 16
1
Several problems with ogg123
...sd_play_stream (format=4129, rate=44100, host=0x0,
name=0x28404da0 "libao output") at esdlib.c:738
#5 0x28404a6d in ao_plugin_open (device=0x806a7c0, format=0xbfafef34)
at ao_esd.c:138
#6 0x280bb7bf in _open_device (driver_id=5, format=0xbfafef34, options=0x0,
file=0x0) at audio_out.c:462
#7 0x280bba3f in ao_open_live (driver_id=5, format=0xbfafef34, options=0x0)
at audio_out.c:583
#8 0x804b514 in audio_reopen_action (buf=0x8075000, arg=0x80c20d0)
at callbacks.c:60
#9 0x804a43e in execute_actions (buf=0x8075000, action_list=0x8075050,
position=0) at buffer.c:14...
2000 Dec 30
1
selecting driver for ao
...(void);
const char * ao_get_driver_name(int index);
With these, I can get a list of drivers and give the user a choice
by using radio buttons, e.g.
[ ] alsa
[*] oss
[ ] esd
[ ] null
[ ] wav
This is a lot nicer than just asking them to enter the name of
the driver.
Here's the code I added to audio_out.c:
const char * ao_get_driver_name(int idx)
{
int i = 0;
driver_tree_t * driver = driver_head;
while (driver)
{
if (idx == i)
return driver->functions->get_driver_info()->short_name;
++i;
driver = driver->next;
}
return NULL;
}
int ao_get_driver_count(...
2001 Jul 21
1
Preview of next version of libao
I just committed what will eventually become the next version of libao. I've
made some major changes: renamed stuff, redesigned the API, actually
documented things. It *will* break any current libao applications (like
ogg123).
It is on its own branch, so it shouldn't affect the mainline libao code for a
while. But beware: I want to land this branch before Vorbis 1.0 goes out.
Please