Displaying 3 results from an estimated 3 matches for "ao_get_driver_id".
2000 Aug 16
1
YALCSF (Yet Another Libao Configure Script Fix)
...nal library. Since all
of the driver which can be built are built by default, usually only
the --disable-DRIVER option is used.
--enable-default-output=DRIVER
Replace driver with oss, irix, solaris, esd, alsa, null, or wav. This
option sets the default output driver returned by the library when
ao_get_driver_id(NULL) is called.
****
Note that you use these options on the main configure script and they are
passed through to the libao configure script.
As always, bug reports and flames welcome.
---
Stan Seibert
<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: conf-options.patch
</UL&...
2001 Feb 27
2
building under NetBSD and using /dev/audio
...rbis-tools-1.0beta4.
My sound works. I am able to use a .ogg file by using ogg123 to create a
.wav file and playing it with splay. (splay uses /dev/audio.)
How can I modify ogg123 (or liba0) so I can use /dev/audio as the default
sound device?
Or maybe it would be better to add a new device (for ao_get_driver_id) so
I can use /dev/audio.
I did try patching libao's src/plugins/oss/ao_oss.c to use /dev/audio
instead of /dev/dsp. (It seems like this /dev/dsp should not be hardcoded
in.)
But this made no difference. "oss" appears to not be used in the first
place -- ogg123 reports: "No suc...
2001 Mar 10
0
patch to add device-option to ogg123 rc file
...03:15:28 2001
@@ -168,7 +168,7 @@
/* Add last device to device list or use the default device */
if (temp_driver_id < 0) {
- temp_driver_id = get_default_device();
+ temp_driver_id = get_configs(current_options);
if(temp_driver_id < 0) {
temp_driver_id = ao_get_driver_id(NULL);
}
diff -u vorbis-tools-1.0beta4/ogg123/ogg123.h vorbis-tools-1.0beta4-modified/ogg123/ogg123.h
--- vorbis-tools-1.0beta4/ogg123/ogg123.h Wed Feb 21 18:49:12 2001
+++ vorbis-tools-1.0beta4-modified/ogg123/ogg123.h Sat Mar 10 03:21:12 2001
@@ -41,7 +41,7 @@
void devices_write(void *p...