jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

233 lines
5.6KB

  1. /* -*- Mode: C ; c-basic-offset: 4 -*- */
  2. /*
  3. Copyright (C) 2007,2008 Nedko Arnaudov
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  14. */
  15. #include <stdbool.h>
  16. #include <dbus/dbus.h>
  17. #include <jack/driver.h>
  18. #include <jack/engine.h>
  19. #include "dbus.h"
  20. #include "controller_internal.h"
  21. bool
  22. jack_controller_settings_init()
  23. {
  24. return true;
  25. }
  26. void
  27. jack_controller_settings_uninit()
  28. {
  29. }
  30. bool
  31. jack_controller_settings_save(
  32. struct jack_controller * controller_ptr,
  33. void *dbus_call_context_ptr)
  34. {
  35. jack_dbus_error(dbus_call_context_ptr, JACK_DBUS_ERROR_GENERIC, "jackdbus compiled without settings persistence");
  36. return true;
  37. }
  38. void
  39. jack_controller_settings_load(
  40. struct jack_controller * controller_ptr)
  41. {
  42. }
  43. void
  44. jack_controller_settings_save_auto(
  45. struct jack_controller * controller_ptr)
  46. {
  47. }
  48. /* -*- Mode: C ; c-basic-offset: 4 -*- */
  49. /*
  50. Copyright (C) 2007,2008 Nedko Arnaudov
  51. This program is free software; you can redistribute it and/or modify
  52. it under the terms of the GNU General Public License as published by
  53. the Free Software Foundation; either version 2 of the License.
  54. This program is distributed in the hope that it will be useful,
  55. but WITHOUT ANY WARRANTY; without even the implied warranty of
  56. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  57. GNU General Public License for more details.
  58. You should have received a copy of the GNU General Public License
  59. along with this program; if not, write to the Free Software
  60. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  61. */
  62. #include <stdbool.h>
  63. #include <dbus/dbus.h>
  64. #include <jack/driver.h>
  65. #include <jack/engine.h>
  66. #include "dbus.h"
  67. #include "controller_internal.h"
  68. bool
  69. jack_controller_settings_init()
  70. {
  71. return true;
  72. }
  73. void
  74. jack_controller_settings_uninit()
  75. {
  76. }
  77. bool
  78. jack_controller_settings_save(
  79. struct jack_controller * controller_ptr,
  80. void *dbus_call_context_ptr)
  81. {
  82. jack_dbus_error(dbus_call_context_ptr, JACK_DBUS_ERROR_GENERIC, "jackdbus compiled without settings persistence");
  83. return true;
  84. }
  85. void
  86. jack_controller_settings_load(
  87. struct jack_controller * controller_ptr)
  88. {
  89. }
  90. void
  91. jack_controller_settings_save_auto(
  92. struct jack_controller * controller_ptr)
  93. {
  94. }
  95. /* -*- Mode: C ; c-basic-offset: 4 -*- */
  96. /*
  97. Copyright (C) 2007,2008 Nedko Arnaudov
  98. This program is free software; you can redistribute it and/or modify
  99. it under the terms of the GNU General Public License as published by
  100. the Free Software Foundation; either version 2 of the License.
  101. This program is distributed in the hope that it will be useful,
  102. but WITHOUT ANY WARRANTY; without even the implied warranty of
  103. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  104. GNU General Public License for more details.
  105. You should have received a copy of the GNU General Public License
  106. along with this program; if not, write to the Free Software
  107. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  108. */
  109. #include <stdbool.h>
  110. #include <dbus/dbus.h>
  111. #include <jack/driver.h>
  112. #include <jack/engine.h>
  113. #include "dbus.h"
  114. #include "controller_internal.h"
  115. bool
  116. jack_controller_settings_init()
  117. {
  118. return true;
  119. }
  120. void
  121. jack_controller_settings_uninit()
  122. {
  123. }
  124. bool
  125. jack_controller_settings_save(
  126. struct jack_controller * controller_ptr,
  127. void *dbus_call_context_ptr)
  128. {
  129. jack_dbus_error(dbus_call_context_ptr, JACK_DBUS_ERROR_GENERIC, "jackdbus compiled without settings persistence");
  130. return true;
  131. }
  132. void
  133. jack_controller_settings_load(
  134. struct jack_controller * controller_ptr)
  135. {
  136. }
  137. void
  138. jack_controller_settings_save_auto(
  139. struct jack_controller * controller_ptr)
  140. {
  141. }
  142. /* -*- Mode: C ; c-basic-offset: 4 -*- */
  143. /*
  144. Copyright (C) 2007,2008 Nedko Arnaudov
  145. This program is free software; you can redistribute it and/or modify
  146. it under the terms of the GNU General Public License as published by
  147. the Free Software Foundation; either version 2 of the License.
  148. This program is distributed in the hope that it will be useful,
  149. but WITHOUT ANY WARRANTY; without even the implied warranty of
  150. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  151. GNU General Public License for more details.
  152. You should have received a copy of the GNU General Public License
  153. along with this program; if not, write to the Free Software
  154. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  155. */
  156. #include <stdbool.h>
  157. #include <dbus/dbus.h>
  158. #include <jack/driver.h>
  159. #include <jack/engine.h>
  160. #include "dbus.h"
  161. #include "controller_internal.h"
  162. bool
  163. jack_controller_settings_init()
  164. {
  165. return true;
  166. }
  167. void
  168. jack_controller_settings_uninit()
  169. {
  170. }
  171. bool
  172. jack_controller_settings_save(
  173. struct jack_controller * controller_ptr,
  174. void *dbus_call_context_ptr)
  175. {
  176. jack_dbus_error(dbus_call_context_ptr, JACK_DBUS_ERROR_GENERIC, "jackdbus compiled without settings persistence");
  177. return true;
  178. }
  179. void
  180. jack_controller_settings_load(
  181. struct jack_controller * controller_ptr)
  182. {
  183. }
  184. void
  185. jack_controller_settings_save_auto(
  186. struct jack_controller * controller_ptr)
  187. {
  188. }