[Bug 771761] New: Adding equalizer support in gst player api's

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 21 11:52:43 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=771761

            Bug ID: 771761
           Summary: Adding equalizer support in gst player api's
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sachin.kc at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi,
Below is the draft of proposed equalizer api's to be added in GstPlayer.
I would like to open a discussion to finalize this. Please provide inputs on
this.

typedef enum
{
  GST_PLAYER_EQUALIZER_NONE,
  GST_PLAYER_EQUALIZER_3BANDS,
  GST_PLAYER_EQUALIZER_10BANDS,
  GST_PLAYER_EQUALIZER_NBANDS
} GstPlayerEqualizerType;

struct _GstPlayer
{
  .
  .
  .
  gboolean is_equalizer_enabled;
  GstPlayerEqualizerType equalizer_type;
};

gboolean gst_player_is_equalizer_enabled( GstPlayer * player);

void gst_player_enable_equalizer (GstPlayer * player, GstPlayerEqualizerType
type); // passing GST_PLAYER_EUQALIZER_NONE will remove existing equalizer
element.

int gst_player_get_equalizer_band_count (GstPlayer * player);

void gst_player_set_equalizer_band_count ( GstPlayer * player, int band_count);
//for nband equalizer. in case of 3 or 10 bands, function will ignore this call

double gst_player_get_band_value( GstPlayer * player, int band_num);

void gst_player_set_band_value( GstPlayer * player, int band_num, double
value);


Thanks,
Sachin k Chauhan

-- 
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