Displaying 5 results from an estimated 5 matches for "sndctl_dsp_getodelay".
2001 Mar 16
3
Patches for NetBSD
...t;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 $
--- ../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...
2001 Feb 27
2
building under NetBSD and using /dev/audio
I am using NetBSD 1.5.1_ALPHA (i386). I have libao-0.6.0,
libvorbis-1.0beta4, libogg-1.0beta4 and vorbis-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
2001 Mar 13
2
Followup to compiling Ogg on NetBSD-1.5/i386
Hi Jeremy,
I went through the list archives, and have been trying to follow and
implement things as I understand:
1. libao needs <sys/soundcard.h> and <machine/soundcard.h>, and so I
linked /usr/include/soundcard.h there.
2. Since `soundcard.h' doesn't have SNDCTL_DSP_GETODELAY, I uncommented
that particular line in `src/plugins/oss/ao_oss.c'. These steps made sure
that I had liboss files created in /usr/pkg/lib/ao/.
3. After that, I went to vorbis-tools. (**I had compiled libogg and
libvorbis earlier -- do I need to compile them again now that I have
made changes i...
2001 Jul 23
2
[fwd] Problems with ogg123 on OpenBSD (from: ryancooley@yahoo.com)
...123 on OpenBSD
To: feedback@vorbis.com
While I hate to send complaints about something that is Free(tm), I
really hoped and expected the Ogg Vorbis team to have put at least a
small ammount of work into making vorbis work under the BSDs.
As it is, when compiling libao I get errors such as
"SNDCTL_DSP_GETODELAY undeclared" and "RTLD_NOW undeclared". While I'm
not a C programer, I had the imagination to declare the variables
needed. With that error gone, I was free to install the libao library
and comile the rest of the package. When testing I discovered that
ogg123 had no idea how to...
2012 Jan 13
0
Wine release 1.3.37
...void floating point arithmetic.
mmdevapi: Avoid HeapRealloc when no data need be copied.
mmdevapi: GetDevicePeriod returns constants.
winecoreaudio: Fix latency calculation.
winealsa: Have GetStreamLatency reflect the ALSA period.
wineoss: GetStreamLatency is constant, SNDCTL_DSP_GETODELAY is dynamic.
winmm: Ignore broken nBlockAlign and AvgBytes within PCMWAVEFORMAT.
winealsa: Unify the checks for wBitsPerSample.
winealsa: Check ValidBitsPerSample and support SND_PCM_FORMAT_S20_3LE.
mmdevapi: Round buffer size like native in shared mode.
winealsa: Fix A...