root/trunk/libffado/src/fbtypes.h

Revision 1763, 1.4 kB (checked in by ppalmers, 11 years ago)

Merged revisions 1536,1541,1544-1546,1549,1554-1562,1571,1579-1581,1618,1632,1634-1635,1661,1677-1679,1703-1704,1715,1720-1723,1743-1745,1755 via svnmerge from
svn+ssh://ffadosvn@ffado.org/ffado/branches/libffado-2.0

Also fix remaining format string warnings.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /*
2  * Copyright (C) 2005-2008 by Daniel Wagner
3  *
4  * This file is part of FFADO
5  * FFADO = Free Firewire (pro-)audio drivers for linux
6  *
7  * FFADO is based upon FreeBoB.
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 2 of the License, or
12  * (at your option) version 3 of the License.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21  *
22  */
23
24 #ifndef FBTYPES_H
25 #define FBTYPES_H
26
27 #ifndef __STDC_FORMAT_MACROS
28 #define __STDC_FORMAT_MACROS
29 #endif
30 #include <inttypes.h>
31
32 #include <libraw1394/raw1394.h>
33
34 #define INVALID_NODE_ID 0xFF
35
36 typedef quadlet_t   fb_quadlet_t;
37 typedef byte_t      fb_byte_t;
38 typedef octlet_t    fb_octlet_t;
39 typedef nodeid_t    fb_nodeid_t;
40 typedef nodeaddr_t  fb_nodeaddr_t;
41
42 #define FORMAT_FB_OCTLET_T      "0x%016" PRIX64
43 #define FORMAT_FB_NODEID_T      "0x%016" PRIX64
44 #define FORMAT_FB_NODEADDR_T    "0x%016" PRIX64
45
46 class DeviceManager;
47
48 struct ffado_handle {
49     DeviceManager*   m_deviceManager;
50 };
51
52 #endif
Note: See TracBrowser for help on using the browser.