~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to src/gst-audio-play.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-05-04 17:37:18 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100504173718-k2rx3nryi4vd0xyx
Tags: 2.30.1-1
* New upstream release.
  - HAL dependency has been dropped. Use (g)udev for v4l capability probing
    on Linux. Closes: #573774
  - Split code into separate libraries.
* debian/control.in
  - Drop Build-Depends on libhal-dev.
  - Drop Build-Depends on libebook1.2-dev.
  - Bump Build-Depends on libgtk2.0-dev to (>= 2.19.1).
  - Bump Build-Depends on libgstreamer*-dev to (>= 0.10.23).
  - Add Build-Depends on libcanberra-gtk-dev.
  - Add Build-Depends on libxtst-dev.
  - Add Build-Depends on libgudev-1.0-dev on Linux.
  - Bump Standards-Version to 3.8.4. No further changes.
* Switch to source format 3.0 (quilt)
  - Add debian/source/format.
* debian/rules
  - Drop lpia specific configure flags, lpia is dead.
* Update package layout (based on work by Ubuntu)
  - Move data files into new cheese-common package.
  - Keep binary along with its desktop and dbus service file in the cheese
    package.
  - Add libcheese-gtk18 and libcheese-gtk-dev package for the new
    libcheese-gtk library. Use a symbols file for improved shlibs
    dependencies.
  - Add Conflicts/Replaces to cheese-common to ensure proper upgrades from
    previous versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* GStreamer
2
 
 * Copyright (C) 2007 Mathias Hasselmann <mathias.hasselmann@gmx.de>
3
 
 *
4
 
 * gst-audio-play.h: A simple audio file player
5
 
 *
6
 
 * This library is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU Library General Public
8
 
 * License as published by the Free Software Foundation; either
9
 
 * version 2 of the License, or (at your option) any later version.
10
 
 *
11
 
 * This library is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
 
 * Library General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Library General Public
17
 
 * License along with this library; if not, write to the
18
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
 
 * Boston, MA 02111-1307, USA.
20
 
 */
21
 
 
22
 
#ifndef __GST_AUDIO_PLAY_H__
23
 
#define __GST_AUDIO_PLAY_H__
24
 
 
25
 
#include <glib-object.h>
26
 
 
27
 
#define GST_TYPE_AUDIO_PLAY           (gst_audio_play_get_type())
28
 
#define GST_AUDIO_PLAY(obj)           (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_AUDIO_PLAY, GstAudioPlay))
29
 
#define GST_AUDIO_PLAY_CLASS(cls)     (G_TYPE_CHECK_CLASS_CAST((cls), GST_TYPE_AUDIO_PLAY, GstAudioPlayClass))
30
 
#define GST_IS_AUDIO_PLAY(obj)        (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_AUDIO_PLAY))
31
 
#define GST_IS_AUDIO_PLAY_CLASS(cls)  (G_TYPE_CHECK_CLASS_TYPE((cls), GST_TYPE_AUDIO_PLAY))
32
 
#define GST_AUDIO_PLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_AUDIO_PLAY, GstAudioPlayClass))
33
 
 
34
 
G_BEGIN_DECLS
35
 
 
36
 
typedef struct
37
 
{
38
 
  GObject object;
39
 
} GstAudioPlay;
40
 
 
41
 
typedef struct
42
 
{
43
 
  GObjectClass parent_class;
44
 
 
45
 
  /* signals */
46
 
  void (*done) (GstAudioPlay *audio_play, GError *error);
47
 
} GstAudioPlayClass;
48
 
 
49
 
GType         gst_audio_play_get_type   (void) G_GNUC_CONST;
50
 
GstAudioPlay *gst_audio_play_new        (const gchar *uri);
51
 
 
52
 
void          gst_audio_play_start      (GstAudioPlay *audio_play);
53
 
void          gst_audio_play_stop       (GstAudioPlay *audio_play);
54
 
 
55
 
GstAudioPlay *gst_audio_play_file       (const gchar *filename,
56
 
                                         GError **error);
57
 
 
58
 
G_END_DECLS
59
 
 
60
 
#endif /* __GST_AUDIO_PLAY_H__ */