source: roaraudio/roard/sources.c @ 64:93c00fbc439a

Last change on this file since 64:93c00fbc439a was 64:93c00fbc439a, checked in by phi, 16 years ago

changed some basic things to support sources

File size: 381 bytes
Line 
1//sources.c:
2
3#include "roard.h"
4
5int sources_init (void) {
6 g_source_client = -1;
7 return 0;
8}
9
10int sources_set_client (int client) {
11 if ( client >= 0 ) {
12  g_source_client = client;
13  return 0;
14 } else {
15  return -1;
16 }
17}
18
19int sources_free (void) {
20 return 0;
21}
22
23int sources_add (char * driver, char * device, char * containe, char * options, int primary) {
24 return -1;
25}
26
27//ll
Note: See TracBrowser for help on using the repository browser.