diff options
author | N.N. <sevyves@users.sourceforge.net> | 2004-05-18 00:50:40 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2004-05-18 00:50:40 +0000 |
commit | 6a708e3b1d4acb456f24bcd1e3d09a83d1070243 (patch) | |
tree | 32a03d05e53a64fecaaeb6763288e128dbf50994 /include | |
parent | ec1b4435c82dd4613724c8d891e52894c918334f (diff) |
PiDiP 0.12.14
svn path=/trunk/externals/pidip/; revision=1734
Diffstat (limited to 'include')
-rw-r--r-- | include/pdp_mp4player~.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/pdp_mp4player~.h b/include/pdp_mp4player~.h index 05e6d14..412dff5 100644 --- a/include/pdp_mp4player~.h +++ b/include/pdp_mp4player~.h @@ -54,7 +54,7 @@ typedef struct pdp_mp4player_struct t_pdp_mp4player; #include "pdp_mp4videosource.h" #include "pdp_mp4audiosource.h" -#define DEFAULT_CHANNELS 1 +#define DEFAULT_CHANNELS 2 #define MIN_PRIORITY -20 #define DEFAULT_PRIORITY 0 #define MAX_PRIORITY 20 @@ -69,7 +69,7 @@ typedef struct pdp_mp4player_struct t_object x_obj; t_float x_f; - t_int x_packet0; + t_int x_packet; t_int x_dropped; t_pdp *x_header; @@ -93,6 +93,7 @@ typedef struct pdp_mp4player_struct t_int x_samplerate; // audio sample rate t_int x_audiochannels; // audio channels t_int x_audioon; // enough audio data to start playing + t_int x_blocksize; // audio block size struct timeval x_starttime; // streaming starting time t_int x_cursec; // current second t_int x_secondcount; // number of frames received in the current second @@ -100,9 +101,10 @@ typedef struct pdp_mp4player_struct t_int x_priority; // priority of decoding thread t_int x_newpicture; // flag indicating a new picture + short int *x_datav; // video data from mpeg4hippies + /* audio structures */ t_int x_audio; // flag to activate the decoding of audio - short x_audio_buf[4*MAX_AUDIO_PACKET_SIZE]; /* buffer for audio from stream*/ short x_audio_in[4*MAX_AUDIO_PACKET_SIZE]; /* buffer for resampled PCM audio */ t_int x_audioin_position; // writing position for incoming audio |