Home
last modified time | relevance | path

Searched refs:oggFile (Results 1 – 25 of 34) sorted by relevance

12

/dports/audio/oaml/oaml-1.3.4/src/
H A Dogg.cpp34 oggFile *ogg = (oggFile*)datasource; in oggFile_read()
39 oggFile *ogg = (oggFile*)datasource; in oggFile_seek()
44 oggFile *ogg = (oggFile*)datasource; in oggFile_close()
49 oggFile *ogg = (oggFile*)datasource; in oggFile_tell()
53 oggFile::oggFile(oamlFileCallbacks *cbs) : audioFile(cbs) { in oggFile() function in oggFile
66 oggFile::~oggFile() { in ~oggFile()
72 int oggFile::Open(const char *filename) { in Open()
115 int oggFile::Read(char *buffer, int size) { in Read()
124 void oggFile::WriteToFile(const char *, ByteBuffer *, int, unsigned int, int) { in WriteToFile()
127 void oggFile::Close() { in Close()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/oggdecoder/
H A DOggDecoder.cpp102 if (ov_open_callbacks(this, &this->oggFile, NULL, 0, this->oggCallbacks) != 0) { in Open()
107 this->duration = ov_time_total(&this->oggFile, -1); in Open()
113 ov_clear(&this->oggFile); in Release()
118 if (ov_seekable(&this->oggFile)) { in SetPosition()
119 if (!ov_time_seek(&this->oggFile, second)) { in SetPosition()
120 return ov_time_tell(&this->oggFile); in SetPosition()
136 &this->oggFile, in GetBuffer()
146 vorbis_info *info = ov_info(&this->oggFile, -1); in GetBuffer()
/dports/audio/alure/alure-1.2/src/
H A Dcodec_vorbisfile.cpp65 OggVorbis_File oggFile; member
131 int res = ov_read(&oggFile, (char*)&data[got], bytes, &oggBitstream); in GetData()
133 … int res = ov_read(&oggFile, (char*)&data[got], bytes, BigEndian?1:0, 2, 1, &oggBitstream); in GetData()
187 if(ov_pcm_seek(&oggFile, 0) == 0) in Rewind()
196 ogg_int64_t len = ov_pcm_total(&oggFile, oggBitstream); in GetLength()
210 if(ov_open_callbacks(this, &oggFile, NULL, 0, streamIO) == 0) in oggStream()
212 oggInfo = ov_info(&oggFile, -1); in oggStream()
214 ov_clear(&oggFile); in oggStream()
221 ov_clear(&oggFile); in ~oggStream()
/dports/net/liveMedia/live/testProgs/
H A DtestOggStreamer.cpp30 OggFile* oggFile; variable
78 oggFile = newFile; in onOggFileCreation()
81 oggDemux = oggFile->newDemux(); in onOggFileCreation()
92 numTracks = oggFile->numTracks(); in onOggFileCreation()
100 trackState[i].source = oggFile in onOggFileCreation()
111 = oggFile->createRTPSinkForTrackNumber(trackNumber, rtpGroupsock, 96+i); in onOggFileCreation()
156 oggDemux = oggFile->newDemux(); in afterPlaying()
164 = oggFile->createSourceForStreaming(baseSource, trackState[i].trackNumber, in afterPlaying()
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/audio/
H A Dopenaloggdata.cpp48 OggVorbis_File oggFile; in loadOgg() local
49 ov_open(f, &oggFile, NULL, 0); in loadOgg()
52 pInfo = ov_info(&oggFile, -1); in loadOgg()
69 bytes = ov_read(&oggFile, array, BUFFER_SIZE, endian, 2, 1, &bitStream); in loadOgg()
76 ov_clear(&oggFile); in loadOgg()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/audio/
H A Dsfx_buffer.cpp160 OggVorbis_File oggFile; in loadVorbisBuffer() local
176 if (ov_open_callbacks(file, &oggFile, NULL, 0, OV_CALLBACKS_NOCLOSE) != 0) in loadVorbisBuffer()
184 info = ov_info(&oggFile, -1); in loadVorbisBuffer()
187 long len = (long)ov_pcm_total(&oggFile, -1) * info->channels * 2; in loadVorbisBuffer()
197 int read = ov_read(&oggFile, bufpt, todo, ogg_endianness, 2, 1, &bs); in loadVorbisBuffer()
207 ov_clear(&oggFile); in loadVorbisBuffer()
/dports/audio/gtkpod/gtkpod-1.0.0/src/
H A Doggfile.c69 OggVorbis_File oggFile; in ogg_get_file_info() local
70 if (ov_open(file, &oggFile, NULL , 0)!=0) in ogg_get_file_info()
83 vorbis_info *vi=ov_info(&oggFile,-1); in ogg_get_file_info()
87 track->tracklen=(ov_time_total(&oggFile,-1))*1000; /* in seconds */ in ogg_get_file_info()
90 vorbis_comment *vc=ov_comment(&oggFile,-1); in ogg_get_file_info()
133 ov_clear(&oggFile); /* performs the fclose(file); */ in ogg_get_file_info()
/dports/devel/love07/love-HEAD/src/modules/sound/lullaby/
H A DVorbisDecoder.cpp145 oggFile.dataPtr = (char *) data->getData(); in VorbisDecoder()
146 oggFile.dataSize = data->getSize(); in VorbisDecoder()
147 oggFile.dataRead = 0; in VorbisDecoder()
150 if(ov_open_callbacks(&oggFile, &handle, NULL, 0, vorbisCallbacks) < 0) in VorbisDecoder()
201 if(oggFile.dataSize - oggFile.dataRead == 0) in decode()
/dports/multimedia/poe/Poe-0.5.1/
H A DDocument.m28 RELEASE(oggFile);
56 oggFile = [[OGGEditor alloc] initWithFile: fileName];
58 if (oggFile) return YES;
64 if ([oggFile writeToFile: fileName]) return YES;
72 editor = AUTORELEASE([[EditorWindowController alloc] initWithEditor: oggFile]);
H A DDocument.h28 OGGEditor *oggFile; variable
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/sound/
H A DSoundPlayer.cpp155 OggVorbis_File oggFile; in play() local
168 int res = ov_open_callbacks(static_cast<void*> (&stream), &oggFile, NULL, 0, callbacks); in play()
174 vorbisInfo = ov_info(&oggFile, -1); in play()
189 bytes = ov_read(&oggFile, smallBuffer, sizeof(smallBuffer), 0, 2, 1, &bitStream); in play()
208 ov_clear(&oggFile); in play()
H A DSoundManager.cpp45 AutoPtr<ArchiveFile> oggFile(GlobalFileSystem().openFile(name)); in playSound() local
46 if (oggFile) { in playSound()
50 _soundPlayer.play(*oggFile); in playSound()
/dports/audio/oaml/oaml-1.3.4/include/
H A Dogg.h26 class oggFile : public audioFile { in main()
37 oggFile(oamlFileCallbacks *cbs); in main()
38 ~oggFile(); in main()
/dports/audio/atunes/atunes-3.1.2/src/net/sourceforge/atunes/kernel/modules/cdripper/
H A DOggEncoder.java95 public boolean encode(final File wavFile, final File oggFile) { in encode() argument
97 wavFile.getName(), " -> ", oggFile.getName())); in encode()
104 List<String> command = createCommand(wavFile, oggFile); in encode()
182 private List<String> createCommand(final File wavFile, final File oggFile) { in createCommand() argument
188 command.add(FileUtils.getPath(oggFile)); in createCommand()
/dports/games/scorched3d/scorched/src/client/sound/
H A DSoundBufferOV.cpp84 FILE *oggFile = fopen(fileName, "rb"); in openStream() local
85 if (!oggFile) in openStream()
94 int result = ov_open_callbacks((void *) oggFile, &oggStream, 0, 0, callbacks); in openStream()
97 fclose(oggFile); in openStream()
/dports/devel/love08/love-0.8.0/src/modules/sound/lullaby/
H A DVorbisDecoder.cpp145 oggFile.dataPtr = (char *) data->getData(); in VorbisDecoder()
146 oggFile.dataSize = data->getSize(); in VorbisDecoder()
147 oggFile.dataRead = 0; in VorbisDecoder()
150 if (ov_open_callbacks(&oggFile, &handle, NULL, 0, vorbisCallbacks) < 0) in VorbisDecoder()
/dports/devel/love/love-11.3/src/modules/sound/lullaby/
H A DVorbisDecoder.cpp149 oggFile.dataPtr = (const char *) data->getData(); in VorbisDecoder()
150 oggFile.dataSize = data->getSize(); in VorbisDecoder()
151 oggFile.dataRead = 0; in VorbisDecoder()
154 if (ov_open_callbacks(&oggFile, &handle, NULL, 0, vorbisCallbacks) < 0) in VorbisDecoder()
/dports/devel/love10/love-0.10.2/src/modules/sound/lullaby/
H A DVorbisDecoder.cpp149 oggFile.dataPtr = (const char *) data->getData(); in VorbisDecoder()
150 oggFile.dataSize = (int) data->getSize(); in VorbisDecoder()
151 oggFile.dataRead = 0; in VorbisDecoder()
154 if (ov_open_callbacks(&oggFile, &handle, NULL, 0, vorbisCallbacks) < 0) in VorbisDecoder()
/dports/games/minetest/minetest-5.4.1/src/client/
H A Dsound_openal.cpp115 SoundBuffer *load_opened_ogg_file(OggVorbis_File *oggFile, in load_opened_ogg_file() argument
127 pInfo = ov_info(oggFile, -1); in load_opened_ogg_file()
142 bytes = ov_read(oggFile, array, BUFFER_SIZE, endian, 2, 1, &bitStream); in load_opened_ogg_file()
146 ov_clear(oggFile); in load_opened_ogg_file()
173 ov_clear(oggFile); in load_opened_ogg_file()
180 OggVorbis_File oggFile; in load_ogg_from_file() local
185 if (ov_fopen(path.c_str(), &oggFile) != 0) { in load_ogg_from_file()
191 return load_opened_ogg_file(&oggFile, path); in load_ogg_from_file()
247 OggVorbis_File oggFile; in load_ogg_from_buffer() local
254 if (ov_open_callbacks(&s, &oggFile, nullptr, 0, g_buffer_ov_callbacks) != 0) { in load_ogg_from_buffer()
[all …]
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/BBGE/
H A DOggStream.cpp39 oggFile = fopen(core->adjustFilenameCase(path.c_str()), "rb"); in open()
41 if (!oggFile) in open()
47 result = ov_open(oggFile, &oggStream, NULL, 0); in open()
51 fclose(oggFile); in open()
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/libs/mime/
H A DMimeAnalyzerTest.php76 $oggFile = __DIR__ . '/../../../data/media/say-test.ogg';
77 $actualType = $this->mimeAnalyzer->getMediaType( $oggFile, 'application/ogg' );
86 $oggFile = __DIR__ . '/../../../data/media/say-test.opus';
87 $actualType = $this->mimeAnalyzer->getMediaType( $oggFile, 'application/ogg' );
/dports/devel/mutagen/mutagen-0.11.8/vendor/github.com/pion/webrtc/v2/examples/save-to-disk/
H A Dmain.go71 oggFile, err := oggwriter.New("output.ogg", 48000, 2)
98 saveToDisk(oggFile, track)
114 closeErr := oggFile.Close()
/dports/security/snowflake-tor/snowflake-ead5a960d7fa19dc890ccbfc0765c5ab6629eaa9/vendor/github.com/pion/webrtc/v3/examples/save-to-disk/
H A Dmain.go95 oggFile, err := oggwriter.New("output.ogg", 48000, 2)
122 saveToDisk(oggFile, track)
138 closeErr := oggFile.Close()
/dports/games/stuntrally/stuntrally-2.6.1/source/sound/
H A DSoundBaseMgrUtil.cpp201 OggVorbis_File oggFile; in loadOGGFile() local
202 ov_open_callbacks(fp, &oggFile, NULL, 0, OV_CALLBACKS_DEFAULT); in loadOGGFile()
203 vorbis_info* info = ov_info(&oggFile, -1); in loadOGGFile()
206 unsigned int samples = ov_pcm_total(&oggFile, -1); in loadOGGFile()
217 bytes = ov_read(&oggFile, bdata+bufpos, size-bufpos, in loadOGGFile()
237 ov_clear(&oggFile); in loadOGGFile()
/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dsound_openal.cpp124 OggVorbis_File oggFile; in loadOggFile() local
132 if(ov_fopen(nonconst, &oggFile) != 0) in loadOggFile()
141 pInfo = ov_info(&oggFile, -1); in loadOggFile()
156 bytes = ov_read(&oggFile, array, BUFFER_SIZE, endian, 2, 1, &bitStream); in loadOggFile()
160 ov_clear(&oggFile); in loadOggFile()
184 ov_clear(&oggFile); in loadOggFile()

12