mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
libcs headers update
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2167 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
/* */
|
||||
/* (C) 2008 CoolStream International */
|
||||
/* */
|
||||
/* $Id:: $ */
|
||||
/*******************************************************************************/
|
||||
#ifndef __PLAYBACK_CS_H_
|
||||
#define __PLAYBACK_CS_H_
|
||||
@@ -18,6 +19,14 @@ typedef enum {
|
||||
|
||||
class cPlaybackData;
|
||||
|
||||
typedef struct {
|
||||
bool enabled;
|
||||
uint16_t pid;
|
||||
uint16_t ac3flags;
|
||||
std::string lang;
|
||||
std::string codec_name;
|
||||
} playback_audio_pid_info_t;
|
||||
|
||||
class cPlayback {
|
||||
private:
|
||||
cPlaybackData * pd;
|
||||
@@ -50,6 +59,7 @@ public:
|
||||
bool SetPosition(int position, bool absolute = false);
|
||||
bool IsPlaying(void) const { return playing; }
|
||||
bool IsEnabled(void) const { return enabled; }
|
||||
void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user