mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
This should provide the same functionality as libcoolstream does,
but for the TripleDragon
Add td-compat directory with includes to convert values from
TD api to DVB api and back.
git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@960 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: master
Commit: 25e8c83e63
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-12-25 (Sat, 25 Dec 2010)
------------------
This commit was generated by Migit
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/*
|
|
* compatibility stuff for Tripledragon audio API
|
|
*
|
|
* (C) 2009 Stefan Seyfried
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program 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 program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef __td_audio_compat_h__
|
|
#define __td_audio_compat_h__
|
|
|
|
#include <aud/aud_inf.h>
|
|
// types
|
|
typedef enum {
|
|
AUDIO_SOURCE_DEMUX = AUD_SOURCE_DEMUX,
|
|
AUDIO_SOURCE_MEMORY = AUD_SOURCE_MEMORY
|
|
} audio_stream_source_t;
|
|
#define audio_channel_select_t audChannel_t
|
|
// ioctls
|
|
#define AUDIO_CHANNEL_SELECT MPEG_AUD_SELECT_CHANNEL
|
|
#define AUDIO_SELECT_SOURCE MPEG_AUD_SELECT_SOURCE
|
|
#define AUDIO_PLAY MPEG_AUD_PLAY
|
|
#define AUDIO_STOP MPEG_AUD_STOP
|
|
#define AUDIO_SET_MUTE MPEG_AUD_SET_MUTE
|
|
|
|
#endif /* __td_audio_compat_h__ */
|