be18b8815a
- remove arts, esd and oss (from brad) - add jack pseudo flavor (from brad) - add wavpack - add sndio, based on xmms' sndio support from Thomas Pfaff input, some testing and ok sthen@.
28 lines
802 B
Plaintext
28 lines
802 B
Plaintext
$OpenBSD: patch-src_sun_audio_c,v 1.2 2009/01/25 02:07:06 fgsch Exp $
|
|
--- src/sun/audio.c.orig Fri May 23 23:44:20 2008
|
|
+++ src/sun/audio.c Wed Jan 21 08:29:52 2009
|
|
@@ -121,14 +121,12 @@ static void sun_setformat(AFormat fmt, int rate, int n
|
|
|
|
sun = sun_format(fmt);
|
|
|
|
- effect.format.sun = sun;
|
|
effect.format.xmms = fmt;
|
|
effect.frequency = rate;
|
|
effect.channels = nch;
|
|
effect.bps = sun_bps(sun, rate, nch);
|
|
|
|
output.format.sun = sun;
|
|
- output.format.xmms = fmt;
|
|
output.frequency = rate;
|
|
output.channels = nch;
|
|
sun_setparams();
|
|
@@ -473,7 +471,7 @@ int sun_open(AFormat fmt, int rate, int nch)
|
|
|
|
if ((audio.fd = open(audio.devaudio, O_RDWR)) < 0)
|
|
{
|
|
- g_error("%s: %s", audio.devaudio, strerror(errno));
|
|
+ g_warning("%s: %s", audio.devaudio, strerror(errno));
|
|
return 0;
|
|
}
|
|
|