root/branches/echoaudio/src/libavc/musicsubunit/avc_musicsubunit.cpp

Revision 508, 1.9 kB (checked in by ppalmers, 17 years ago)

splitted avc_subunit.cpp into separate files per subunit type

Line 
1 /*
2  * Copyright (C)      2007 by Pieter Palmers
3  * Copyright (C) 2005-2007 by Daniel Wagner
4  *
5  * This file is part of FFADO
6  * FFADO = Free Firewire (pro-)audio drivers for linux
7  *
8  * FFADO is based upon FreeBoB
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License version 2.1, as published by the Free Software Foundation;
13  *
14  * This library 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 GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22  * MA 02110-1301 USA
23  */
24
25 #warning this header should go
26 #include "bebob/bebob_avplug.h"
27 #include "libieee1394/configrom.h"
28
29 #include "../general/avc_subunit.h"
30 #include "../general/avc_unit.h"
31
32 #include "../general/avc_plug_info.h"
33 #include "../streamformat/avc_extended_stream_format.h"
34 #include "../util/avc_serialize.h"
35
36 #include <sstream>
37
38 namespace AVC {
39
40 ////////////////////////////////////////////
41
42 SubunitMusic::SubunitMusic( Unit& unit, subunit_t id )
43     : Subunit( unit, eST_Music, id )
44 {
45 }
46
47 SubunitMusic::SubunitMusic()
48     : Subunit()
49 {
50 }
51
52 SubunitMusic::~SubunitMusic()
53 {
54 }
55
56 const char*
57 SubunitMusic::getName()
58 {
59     return "MusicSubunit";
60 }
61
62 bool
63 SubunitMusic::serializeChild( Glib::ustring basePath,
64                                              Util::IOSerialize& ser ) const
65 {
66     return true;
67 }
68
69 bool
70 SubunitMusic::deserializeChild( Glib::ustring basePath,
71                                                Util::IODeserialize& deser,
72                                                Unit& unit )
73 {
74     return true;
75 }
76
77 }
Note: See TracBrowser for help on using the browser.