hi all,
I've tried to clean-up and complete my notes about libsndio, in the
hope they can be useful to port more applications to it, and ease
writing correct code:
http://caoua.org/alex/obsd/libsndio.html
if you think it's useful enough, i'll try to improve it and
integr
On Sat, Dec 27, 2008 at 04:27:08PM +0900, Iwata wrote:
> >> +static int acntl(int request, void *arg)
> >> +{
> >> + switch(request) {
> >> + case PM_REQ_DISCARD:
> >> + case PM_REQ_PLAY_START: /* Called just before playing */
> >> + case PM_REQ_PLAY_END: /* Called just after playing */
> >> +
quot;
#include "timer.h"
#include "instrum.h"
#include "playmidi.h"
#include "miditrace.h"
static int open_output(void); /* 0=success, 1=warning, -1=fatal error */
static void close_output(void);
static int output_data(char *buf, int32 nbytes);
static int
On Sat, Dec 27, 2008 at 01:49:51PM +0900, IWATA Ray wrote:
> Hi,
>
> This patch adds libsndio to audio/timidity.
> libsndio is assigned sound output option to '-Os' and set default
> output.
>
> Thanks.
thank you :)
> diff -aruN timidity/files/sndio_a.c
Hi,
This patch adds libsndio to audio/timidity.
libsndio is assigned sound output option to '-Os' and set default
output.
Thanks.
diff -aruN timidity/Makefile timidity-libsndio/Makefile
--- timidity/Makefile Thu Nov 22 21:52:34 2007
+++ timidity-libsndio/Makefile Sat Dec 27 11:
On Wed, Dec 03, 2008 at 01:23:23PM +0100, Alexandre Ratchov wrote:
> On Wed, Dec 03, 2008 at 12:37:34PM +0100, David Coppa wrote:
> > Hello.
> > I'm investigating about writing a libsndio backend for PortAudio, so
> > applications like pjsua can interface with aucat.
On Wed, Dec 03, 2008 at 12:37:34PM +0100, David Coppa wrote:
> Hello.
> I'm investigating about writing a libsndio backend for PortAudio, so
> applications like pjsua can interface with aucat.
> Is this really needed?
yes, imo. Other ports are using it too, getting portaudio rig
Hello.
I'm investigating about writing a libsndio backend for PortAudio, so
applications like pjsua can interface with aucat.
Is this really needed? Is anybody already working on it?
Best Regards,
David Coppa
On Tue, Oct 28, 2008 at 03:31:38AM +, Jacob Meuser wrote:
>
> this adds playback and recording backends using libsndio. gstreamer
> will use them by default.
any objections to this going in?
> please test with any and all ports that use gstreamer for audio i/o.
> I only use
H_INLINES -fsigned-char" ;;
++DEBUG="-g -Wall -fsigned-char"
++ CFLAGS="-fsigned-char"
++PROFILE="-g -pg -fsigned-char" ;;
+ esac
+ fi
+ CFLAGS="$CFLAGS $cflags_save"
+@@ -300,6 +300,11 @@ dnl Check
me of you have noticed a new sound library has come to
> > > base (sio_open(3)), and aucat(1) can act as a sound server.
> > >
> > > this makes SDL use the new library by default (if SDL_SUDIODRIVER
> > > is not set in the environment, or you can ex
Stuart Henderson <[EMAIL PROTECTED]> wrote:
> > this will add libsndio backend to libao, and make it the default.
> > +++ files/libsndio/Makefile.am 28 Oct 2008 09:42:31 -
>
> I'd prefer if these went in files/ rather than files/libsndio/,
> anyone els
sound server.
> >
> > this makes SDL use the new library by default (if SDL_SUDIODRIVER is
> > not set in the environment, or you can explicitly set
> > SDL_AUDIODRIVER=libsndio).
> >
> > playing games is fun testing ;)
> >
> > if you use the aucat
sound server.
> >
> > this makes SDL use the new library by default (if SDL_SUDIODRIVER is
> > not set in the environment, or you can explicitly set
> > SDL_AUDIODRIVER=libsndio).
> >
> > playing games is fun testing ;)
> >
> > if you use the aucat
On Wed, Oct 29, 2008 at 11:21:47AM +, Stuart Henderson wrote:
> On 2008/10/29 12:03, Robert wrote:
> > Tested with vlc on Thinkpad X200/amd64.
> >
> > Without aucat running, everything at 44,48,96kHz works fine. Below
> > that the sound is too fast and stutters.
> >
> > With aucat running all
On 2008/10/29 12:03, Robert wrote:
> Tested with vlc on Thinkpad X200/amd64.
>
> Without aucat running, everything at 44,48,96kHz works fine. Below
> that the sound is too fast and stutters.
>
> With aucat running all samplerates except 44kHz and 96kHz, play back is
> too fast and stutters. (tes
R is
> not set in the environment, or you can explicitly set
> SDL_AUDIODRIVER=libsndio).
>
> playing games is fun testing ;)
>
> if you use the aucat server, you may want to start it like
> $ aucat -b 16384 -l (or even -b 8192 if you have a "faster" machine)
>
On 2008/10/28 18:18, Alexandre Ratchov wrote:
> this will add libsndio backend to libao, and make it the default.
> +++ files/libsndio/Makefile.am28 Oct 2008 09:42:31 -
I'd prefer if these went in files/ rather than files/libsndio/,
anyone else? Works fine for me.
On Wed, 29 Oct 2008 09:20:19 +0100
Robert <[EMAIL PROTECTED]> wrote:
> Playback of audio files only works with rates above 44kHz.
Aucat wasn't running while i tested this...
With aucat listening also audio files with lower sample rates play back
at the correct speed.
- Robert
ght? encoding conversions and
> resampling are handled in aucat.
>
> without aucat running, libsndio will use the hardware without doing
> any conversion; so everything depends on your device capabilities.
>
> -- Alexandre
ouch!
yep, no aucat running...
with aucat -l &
48kHz = too fast
44kHz = fine
16kHz = too fast
12kHz = too fast
>
> > > > perhaps some of you have noticed a new sound library has come to
> > > > base (sio_open(3)), and aucat(1) can act as a sound server.
> > > >
> > > > this makes SDL use the new library by default (if SDL_SUDIODRIVER is not
> > >
kHz and 48kHz play fine.
> Files with a rate below 44kHz are being played back too fast.
>
i guess you're not running aucat. right? encoding conversions and
resampling are handled in aucat.
without aucat running, libsndio will use the hardware without doing
any conversion; so eve
On Wed, 29 Oct 2008 08:08:20 +0100
Robert <[EMAIL PROTECTED]> wrote:
> On Tue, 28 Oct 2008 18:18:10 +0100
> Alexandre Ratchov <[EMAIL PROTECTED]> wrote:
>
> > this will add libsndio backend to libao, and make it the default.
> > The following ports use it:
>
G layer-2, layer-3)
==
AO: [libsndio] 48000Hz 2ch s16le (2 bytes per sample)
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000
On Wed, Oct 29, 2008 at 02:31:03AM +0900, IWATA Ray wrote:
> Hi,
>
> This patch adds plugin for libsndio.
> If you want to test this backend, please add your ~/.libao.
>
> $ echo default_driver=sndio > ~/.libao
>
thanks, its unfortunate we've done the job twice, t
On Tue, 28 Oct 2008 18:18:10 +0100
Alexandre Ratchov <[EMAIL PROTECTED]> wrote:
> this will add libsndio backend to libao, and make it the default.
> The following ports use it:
>
> mpg321, vorbis-tools, tremor-tools, mpd
>
> I've changed diffs against ./config
On Tue, Oct 28, 2008 at 06:18:10PM +0100, Alexandre Ratchov wrote:
> this will add libsndio backend to libao, and make it the default.
> The following ports use it:
>
> mpg321, vorbis-tools, tremor-tools, mpd
>
> I've changed diffs against ./configure and .in
On Tue, Oct 28, 2008 at 11:18 AM, Alexandre Ratchov <[EMAIL PROTECTED]> wrote:
> this will add libsndio backend to libao, and make it the default.
> The following ports use it:
>
> mpg321, vorbis-tools, tremor-tools, mpd
>
> I've changed diffs against ./configure an
On Tue, Oct 28, 2008 at 09:23:21PM +, Jacob Meuser wrote:
> On Wed, Oct 29, 2008 at 02:31:03AM +0900, IWATA Ray wrote:
> > Hi,
> >
> > This patch adds plugin for libsndio.
>
> > + # we link to libpthread just in case one of our plugins does
> > + # in
On Wed, Oct 29, 2008 at 02:31:03AM +0900, IWATA Ray wrote:
> Hi,
>
> This patch adds plugin for libsndio.
> + # we link to libpthread just in case one of our plugins does
> + # in which case this is required to avoid problems on dlclose()
> +-AC_CHECK_LIB(pthread, pth
On Tue, Oct 28, 2008 at 06:18:10PM +0100, Alexandre Ratchov wrote:
> this will add libsndio backend to libao, and make it the default.
> The following ports use it:
>
> mpg321, vorbis-tools, tremor-tools, mpd
>
> I've changed diffs against ./configure and .in
On 2008-10-28, Jacob Meuser <[EMAIL PROTECTED]> wrote:
>
> this adds playback and recording backends using libsndio. gstreamer
> will use them by default.
>
> please test with any and all ports that use gstreamer for audio i/o.
> I only use this with gnash. grepping po
ndio.c 27 Oct 2008 16:19:01 -
> @@ -0,0 +1,226 @@
> +#include
> +#include
> +#include
> +#include
> +
> +#include "config.h"
> +#include "mp_msg.h"
> +#include "mixer.h"
> +#include "help_mp.h"
> +
> +#include &qu
Hi,
This patch adds plugin for libsndio.
If you want to test this backend, please add your ~/.libao.
$ echo default_driver=sndio > ~/.libao
Thanks.
diff -aruN libao/Makefile libao-sndio/Makefile
--- libao/Makefile Wed Dec 12 23:53:39 2007
+++ libao-sndio/MakefileWed Oct 29 02
format.h"
+
+#include "audio_out.h"
+#include "audio_out_internal.h"
+
+static ao_info_t info = {
+ "libsndio audio output",
+ "libsndio",
+ "Alexandre Ratchov <[EMAIL PROTECTED]>",
+ ""
+};
+
+LIBAO_EXTERN(libsndio)
+
this will add libsndio backend to libao, and make it the default.
The following ports use it:
mpg321, vorbis-tools, tremor-tools, mpd
I've changed diffs against ./configure and .in files to apply to
the corresponding .ac and .am files, and switched the port to use
autoconf and automake. Is
e to
> > > base (sio_open(3)), and aucat(1) can act as a sound server.
> > >
> > > this makes SDL use the new library by default (if SDL_SUDIODRIVER is not
> > > set in the environment, or you can explicitly set
> > > SDL_AUDIODRIVER=libsndio).
> &
> > this makes SDL use the new library by default (if SDL_SUDIODRIVER is not
> > set in the environment, or you can explicitly set SDL_AUDIODRIVER=libsndio).
> >
> > playing games is fun testing ;)
> >
> > if you use the aucat server, you may want to start
this adds playback and recording backends using libsndio. gstreamer
will use them by default.
please test with any and all ports that use gstreamer for audio i/o.
I only use this with gnash. grepping ports/INDEX suggests these:
rhythmbox-0.11.5
subtitleeditor-0.13.6p1
gcompris-8.4.4p2
swfdec
in the environment, or you can explicitly set SDL_AUDIODRIVER=libsndio).
>
> playing games is fun testing ;)
>
> if you use the aucat server, you may want to start it like
> $ aucat -b 16384 -l (or even -b 8192 if you have a "faster" machine)
> or you might have a lon
in the environment, or you can explicitly set SDL_AUDIODRIVER=libsndio).
>
> playing games is fun testing ;)
>
> if you use the aucat server, you may want to start it like
> $ aucat -b 16384 -l (or even -b 8192 if you have a "faster" machine)
> or you might have a lon
On Mon, Oct 27, 2008 at 12:15:17PM +0900, Masao Uebayashi wrote:
> > @@ -16,7 +16,7 @@
> > PERMIT_PACKAGE_FTP= Yes
> > PERMIT_DISTFILES_CDROM= Yes
> > PERMIT_DISTFILES_FTP= Yes
> > -WANTLIB= m usbhid
> > +WANTLIB= m sa usbhid
> >
> > MASTER_SITES= ftp://ftp.fr.f
perhaps some of you have noticed a new sound library has come to
base (sio_open(3)), and aucat(1) can act as a sound server.
this makes SDL use the new library by default (if SDL_SUDIODRIVER is not
set in the environment, or you can explicitly set SDL_AUDIODRIVER=libsndio).
playing games is fun
43 matches
Mail list logo