2 * Copyright (C) 2009 Thijs Vermeir <thijsvermeir@gmail.com>
3 * Copyright (C) 2010 Nokia Corporation.
5 * Author: Thijs Vermeir <thijsvermeir@gmail.com>
6 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
7 * <zeeshan.ali@nokia.com>
9 * This file is part of Rygel.
11 * Rygel is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * Rygel is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public License
22 * along with this program; if not, write to the Free Software Foundation,
23 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 * Audio item that serves data from a gst-launch commandline.
31 public class Rygel.GstLaunch.AudioItem : Rygel.AudioItem, Item {
32 public string launch_line { get; protected set; }
34 public AudioItem (string id,
35 MediaContainer parent,
39 base (id, parent, title);
41 this.mime_type = mime_type;
42 this.launch_line = launch_line;
45 public override Element? create_stream_source (string? host_ip) {
46 return this.create_source ();