[Bug 697103] [PATCH] osxaudio: port to 1.0
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Apr 13 00:42:01 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=697103
GStreamer | gst-plugins-good | git
--- Comment #23 from Todd Agulnick <todd at agulnick.com> 2013-04-13 07:41:57 UTC ---
Nakajima-san,
Arigatou gozaimashita.
I got as far as you did regarding channel layout (i.e., converting from the
positions array as used in 0.10 to the channel-mask as used in 1.0). I just
spent some time looking at it, I think I finally understand it.
Sebastian was pointing you in the right direction. The code from osxaudiosink.c
that calls gst_core_audio_audio_device_get_channel_layout() and then iterates
over the results to build a position map needs to move out of osxaudiosink.c
and into the osxaudioringbuffer.c's acquire function. Once you have constructed
that position map, you can call the ring buffer's set_position function.
If that makes sense to you and you are comfortable implementing it, please give
it a try. Otherwise I can put together a patch for you to review.
Yoroshiku!
--
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