~ubuntu-branches/ubuntu/karmic/gtk2hs/karmic

« back to all changes in this revision

Viewing changes to gstreamer/Media/Streaming/GStreamer/Core/Bus.chs.pp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-05-11 18:24:08 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090511182408-7cw13ekc578fj88q
Tags: 0.10.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Add lpia to architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
  busHavePending,
93
93
  busPeek,
94
94
  busPop,
95
 
#if GSTREAMER_CHECK_VERSION(0,10,12)
 
95
#if GST_CHECK_VERSION(0,10,12)
96
96
  busTimedPop,
97
97
#endif
98
98
  busSetFlushing,
186
186
busPop bus =
187
187
    {# call bus_pop #} (toBus bus) >>= maybePeek takeMiniObject
188
188
 
189
 
#if GSTREAMER_CHECK_VERSION(0,10,12)
 
189
#if GST_CHECK_VERSION(0,10,12)
190
190
-- | Get a message from the bus, waiting up to the specified timeout.
191
191
--   If the time given is 'Nothing', the function will wait forever.
192
192
--   If the time given is @0@, the function will behave like 'busPop'.
 
193
--   
 
194
--   Since 0.10.12.
193
195
busTimedPop :: BusClass busT
194
196
            => busT               -- ^ @bus@ - a 'Bus'
195
197
            -> Maybe ClockTime    -- ^ @timeoutM@ - the time to wait for,