get `ags` working with pulseaudio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I develop a music sequencer called Advanced Gtk+ Sequencer.

It currently just supports output to alsa device. I've tried to run it
with pulseaudio's alsa wrapper but there are at least two issues.

* First, `ags` crashes after a while. It runs approximately four
minutes.
* Second, the output is delayed but sound is clean.

I believe pulseaudio does resampling and it's the cause of the mentioned
problems. These issues don't occur when outputting to sound card without
pulseaudio.

Now, I want to get it to work with pulseaudio and any help would be
appreciated.

You can download `ags` from sourceforge with subversion:

http://sourceforge.net/projects/ags/

The sound output code is in src/ags/audio/ags_devout.c located.
Alsa device is initialized in ags_devout_alsa_init() and output occurs
in ags_devout_alsa_play().

In order to run `ags` with clean output you need a realtime kernel. Note
there are conditional locks to sync sound processing, sound outputting
and GUI threads. Debian realtime kernels work great but with ubuntu
studio's rt-kernels I experienced problems, earlier.

regards
Jo?l




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux