[Bug 738687] New: midi: add alsamidisrc, an ALSA MIDI sequencer source
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Oct 17 06:36:06 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=738687
GStreamer | gst-plugins-bad | 1.x
Summary: midi: add alsamidisrc, an ALSA MIDI sequencer source
Classification: Platform
Product: GStreamer
Version: 1.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: ao2 at ao2.it
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=288752)
View: https://bugzilla.gnome.org/attachment.cgi?id=288752
Review: https://bugzilla.gnome.org/review?bug=738687&attachment=288752
add alsamidisrc, an ALSA MIDI sequencer source
Hi,
in the attached patch I am proposing a prototype for an ALSA MIDI sequencer
source.
The implementation is based on a previous experiment of mine with appsrc[1]
which was in turn based on aseqdump[2] and amidicat[3].
The code works, and it could even be good enough for my vocoder[4] use case,
but I feel it'd be nice to have this element upstream and there are still some
issues to deal with before that could happen:
- I am using a GstBufferList hack to push more buffers in the same "polling
interval" to the source pad, that is in the create() callback; should
I use threads and queues?
- The polling interval I am using with the alsa code is quite arbitrary,
I set it to be "less than the buffer duration", but maybe a more efficient
approach can be used.
For now I tried to keep the code as simple as possible, just to show the
functionality, any suggestions for improvements, or even better _patches_ are
more than welcome.
The patch is against the 1.4 branch.
Ciao,
Antonio
[1] http://git.ao2.it/gst-aseq-appsrc.git/
[2] http://git.alsa-project.org/?p=alsa-utils.git;a=tree;f=seq/aseqdump
[3] http://krellan.com/amidicat/
[4] http://ao2.it/109
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list