/usr/include/muroard/state.h is in muroard-dev 0.1.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | //state.h:
/*
* Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2012-2013
*
* This file is part of µRoarD,
* a sound server daemon for using the RoarAudio protocol.
* See README for details.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3
* or (at your option) any later version as published by
* the Free Software Foundation.
*
* RoarAudio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef _MUROARD_STATE_H_
#define _MUROARD_STATE_H_
struct muroard_state {
int alive;
int standby;
/*********************************************************/
/* audio config */
/*********************************************************/
int sa_rate;
int sa_channels;
/*********************************************************/
/* mixer config */
/*********************************************************/
size_t abuffer_size;
/*********************************************************/
/* network config */
/*********************************************************/
#ifdef MUROARD_FEATURE_SOCKET_LISTEN
muroard_handle_t listen_socket;
#endif
#ifdef MUROARD_FEATURE_SOCKET_LISTEN_SOCKTYPE
int listen_type;
#endif
// ...
int16_t * waveform_mixercore;
struct muroard_client client[MUROARD_MAX_CLIENTS];
struct muroard_stream stream[MUROARD_MAX_STREAMS];
#ifdef MUROARD_FEATURE_OPTIMIZE
ssize_t waveform_last_scount;
#endif
size_t waveform_offset;
enum muroard_blocking driver_old_blocking;
int driver_fh;
void * driver_vp;
};
extern struct muroard_state * muroard_g_state;
#define muroard_state_member(m) (muroard_g_state->m)
#endif
//ll
|