~ubuntu-branches/ubuntu/lucid/jack-audio-connection-kit/lucid

« back to all changes in this revision

Viewing changes to config/os/generic/time.h

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-12-06 11:05:15 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20081206110515-xa9v9pajr9jqvfvg
Tags: 0.115.6-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  - Redirect stderr in bash completion (Debian #504488).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C) 2001-2004 Paul Davis, Tilman Linneweh
 
3
 
 
4
    Generic version, overridden by OS-specific definition when needed.
 
5
    
 
6
    This program is free software; you can redistribute it and/or modify
 
7
    it under the terms of the GNU Lesser General Public License as published by
 
8
    the Free Software Foundation; either version 2.1 of the License, or
 
9
    (at your option) any later version.
 
10
    
 
11
    This program 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
 
14
    GNU Lesser General Public License for more details.
 
15
    
 
16
    You should have received a copy of the GNU Lesser General Public License
 
17
    along with this program; if not, write to the Free Software 
 
18
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
19
 
 
20
*/
 
21
#ifndef __jack_time_h__
 
22
#define __jack_time_h__
 
23
 
 
24
#include <jack/types.h>
 
25
 
 
26
extern jack_time_t jack_get_microseconds_from_system (void);
 
27
 
 
28
static inline jack_time_t
 
29
jack_get_microseconds (void) {
 
30
        return jack_get_microseconds_from_system ();
 
31
}
 
32
 
 
33
#endif /* __jack_time_h__ */