X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilevorbis.h;h=0e6c92cb56006eb3bd7622ecf8af169f6c6aaaa4;hb=114b45040c8027671cbe50e7d6cecb28bf73b35f;hp=6f158aad2183077a469ae01249bbc94f4a50464f;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filevorbis.h b/cinelerra-5.1/cinelerra/filevorbis.h index 6f158aad..0e6c92cb 100644 --- a/cinelerra-5.1/cinelerra/filevorbis.h +++ b/cinelerra-5.1/cinelerra/filevorbis.h @@ -2,26 +2,27 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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; either version 2 of the License, or * (at your option) any later version. - * + * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef FILEVORBIS_H #define FILEVORBIS_H +#include "edl.inc" #include "file.inc" #include "filebase.h" #include "vorbis/vorbisenc.h" @@ -38,17 +39,15 @@ public: FileVorbis(Asset *asset, File *file); ~FileVorbis(); - static void get_parameters(BC_WindowBase *parent_window, - Asset *asset, - BC_WindowBase* &format_window, - int audio_options, - int video_options); + static void get_parameters(BC_WindowBase *parent_window, + Asset *asset, BC_WindowBase* &format_window, + int audio_options, int video_options, EDL *edl); int reset_parameters_derived(); static int check_sig(Asset *asset); int open_file(int rd, int wr); int close_file_derived(); - int write_samples(double **buffer, + int write_samples(double **buffer, int64_t len); int read_samples(double *buffer, int64_t len); @@ -90,9 +89,9 @@ public: class VorbisMinBitrate : public BC_TextBox { public: - VorbisMinBitrate(int x, - int y, - VorbisConfigAudio *gui, + VorbisMinBitrate(int x, + int y, + VorbisConfigAudio *gui, char *text); int handle_event(); VorbisConfigAudio *gui; @@ -101,9 +100,9 @@ public: class VorbisMaxBitrate : public BC_TextBox { public: - VorbisMaxBitrate(int x, - int y, - VorbisConfigAudio *gui, + VorbisMaxBitrate(int x, + int y, + VorbisConfigAudio *gui, char *text); int handle_event(); VorbisConfigAudio *gui; @@ -112,9 +111,9 @@ public: class VorbisAvgBitrate : public BC_TextBox { public: - VorbisAvgBitrate(int x, - int y, - VorbisConfigAudio *gui, + VorbisAvgBitrate(int x, + int y, + VorbisConfigAudio *gui, char *text); int handle_event(); VorbisConfigAudio *gui;