search for: getformat

Displaying 16 results from an estimated 16 matches for "getformat".

Did you mean: setformat
2000 Aug 07
1
Starting at square one with Vorbis...
...interface something like this: class SourceDataSourceInterface{ virtual bool Init(char* pSource) = 0; virtual bool Shutdown() = 0; virtual bool ReadFull(char** pDest, int* size) = 0; virtual int ReadPart(char* pDest, int size) = 0; virtual void* GetFormat() = 0; }; I want to write some code that can convert Vorbis file data to raw digital data that the DirectX sound driver can use. As such, I want to write a version of the above struct (well, the actual version has a little more than above) for Vorbis. Can somebody tell me where to start? I r...
2010 May 06
1
Encoding a wave file with a bad header
If I use Speex, JSpeex actually, to compress an otherwise valid wave file with zero lengths in the header would it impact the compression at all? Here's what I'm doing during compression in Java: AudioFormat wavFormat = ais.getFormat(); AudioFormat speexFormat = new AudioFormat(SpeexEncoding.SPEEX_Q5, wavFormat.getSampleRate(), -1, // sample size in bits wavFormat.getChannels(), -1, // frame size...
2008 Jan 07
0
JSpeex - Unsupported conversion
...audioInputStream = AudioSystem.getAudioInputStream(srcFile); } catch (Exception e) { System.out.println("Exception: " + e.getMessage()); e.printStackTrace(); return; } AudioFormat srcFormat = audioInputStream.getFormat(); AudioFormat targetFormat = new AudioFormat(SpeexEncoding.SPEEX_Q3, srcFormat.getSampleRate(), -1, // sample size in bits srcFormat.getChannels(), -1, // fram...
2008 Jan 08
0
JSpeex - Unsupported conversion
...ioSystem.getAudioInputStream > (srcFile); > } > catch (Exception e) { > System.out.println("Exception: " + e.getMessage()); > e.printStackTrace (); > return; > } > AudioFormat srcFormat = audioInputStream.getFormat(); > > AudioFormat targetFormat = > new AudioFormat(SpeexEncoding.SPEEX_Q3 , > srcFormat.getSampleRate(), > -1, // sample size in bits > srcFormat.getChannels(), >...
2008 Dec 17
0
help with jspeex
hello i use the java lib jspeex from http://jspeex.sourceforge.net/ now i use this java code to encode to speex audioInputStream = AudioSystem.getAudioInputStream(srcFile); AudioFormat srcFormat = audioInputStream.getFormat(); AudioFormat targetFormat = new AudioFormat(SpeexEncoding.SPEEX_VBR8 , srcFormat.getSampleRate(), -1, // sample size in bits srcFormat.getChannels(), -1, // frame size...
2010 Mar 20
0
Decode file written from JSpeex using C/C++ API?
...raw speex audio samples and doesn't handle ogg containers.) I've also managed to compress a wave file and output a .spx file using JSpeex and the following Groovy code: AudioInputStream ais = AudioSystem.getAudioInputStream(new File("16Bitprompt.wav")); AudioFormat wavFormat = ais.getFormat(); AudioFormat speexFormat = new AudioFormat(SpeexEncoding.SPEEX_Q5, wavFormat.getSampleRate(), -1, // sample size in bits wavFormat.getChannels(), -1, // frame size -1, // frame rate false); // lit...
2015 Mar 08
1
LVM encryption and new volume group
...with grep -i luks /var/log/anaconda/anaconda.*: /var/log/anaconda/anaconda.storage.log:20:47:55,959 DEBUG blivet: LUKS.__init__: /var/log/anaconda/anaconda.storage.log:20:49:25,009 DEBUG storage.ui: LUKS.__init__: /var/log/anaconda/anaconda.storage.log:20:49:25,009 DEBUG storage.ui: getFormat('luks') returning LUKS instance /var/log/anaconda/anaconda.storage.log:20:49:25,014 DEBUG storage.ui: PartitionDevice._setFormat: sda2 ; current: None ; type: luks ; /var/log/anaconda/anaconda.storage.log:20:49:25,015 INFO storage.ui: registered action: [23] Create Format...
2009 Dec 29
6
Runaway problem
...ch the game. The error message told me that the game doesn't found this file : DATAVA02.001 But, this file is in the installation folder (.wine/drive_c/Program Files/PENDULO Studios/RUNAWAY - A road adventure/Datav/]DATAVA02.001) This is the error message in the console : Code: pDDStream->GetFormat(&ddsd, NULL, NULL, NULL) failed with HRESULT(0x80004001) wine: Unhandled page fault on read access to 0x00000034 at address 0x7bc332c7 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000034 in 32-bit code (0x7bc332c7). Register dump: CS:0073 SS:007b D...
2015 Mar 06
3
LVM encryption and new volume group
Hi Chris, thanks for your answer. It is the first time I decided to encrypt my lvm. I choosed to encrypt the volume group, not every logical volume itself, because in case of doing lvm snapshots in that group they will be encrypted too? And how do I create a new encrypted volume group? Regards Tim Am 6. M?rz 2015 01:58:23 MEZ, schrieb Chris Murphy <lists at colorremedies.com>: >On
2006 Jan 17
1
How to loop a Vobis sound ?
...error; ALsizei size,freq; ALvoid *data; ALboolean loop; if (!szFile) return false; char *pExt = strstr (szFile, ".ogg"); if (pExt) { m_pOggStream = new OggStream; m_pOggStream->Load (szFile, szErr); m_eFormat = m_pOggStream->GetFormat (); } else { // assume is a wav file alutLoadWAVFile (szFile, &m_eFormat, &data, &size, &freq, &loop); CHECK_ERROR ("alutLoadWAVFile, Failed to load :"); PCMData (m_id[0], m_eFormat, data, size, freq); // Unload wave file al...
2020 Sep 11
0
Wine release 5.17
...t dir for generated files. makefiles: Fix a few more object directory references. makefiles: Remove support for generating a single makefile. makefiles: Add separate variable to keep track of source dir font files. Anton Baskanov (5): amstream: Implement AMDirectDrawStream::GetFormat. amstream: Implement AMDirectDrawStream::SetFormat. amstream: Reject incompatible media types in AMDirectDrawStream::ReceiveConnection. amstream: Reconnect if the new format is incompatible with the connection media type in AMDirectDrawStream::SetFormat. amstream: Use curren...
2012 Jun 08
0
Wine release 1.5.6
...nstaller hangs 13186 Warcraft III TFT fails to start with prefixes never used by <wine-0.9.61 15092 Adobe Flash Player 9 and 10: movies and images are messed up 16209 The Lord of the Rings Online: Mines of Moria doesn't start 17893 The Alien Nations / Die V?lker crashes: amstream GetFormat stub 21460 Construct 0.99.8 "File" menu does not work 23706 d3dx9_36.dll.D3DXSaveSurfaceToFileInMemory is needed by Ship Simulator 2008 demo, King's Bounty demo 24210 Sound does not work in Big Fish Games when acceleration is set to full 25103 Medieval Total War Gold DVD I...
2016 Aug 05
0
Wine release 1.9.16
...0: Add D3DX10CreateTextureFromMemory stub. Anton Baskanov (6): amstream: Fix AMAudioData::QueryInterface. amstream: Implement AMAudioData::GetInfo. amstream: Implement AMAudioData::SetBuffer. amstream: Implement AMAudioData::SetActual. amstream: Implement AMAudioData::GetFormat. amstream: Implement AMAudioData::SetFormat. Aric Stewart (4): ntoskrnl: Build a more intelligent and correct RegistryPath if possible. ntoskrnl.exe: Track drivers created with IoCreateDriver. ntoskrnl.exe: Implement ObReferenceObjectByName but only for loaded drivers....
2012 May 11
0
Wine release 1.5.4
...umerate master clocks. dmusic: COM cleanup of IDirectMusic8. dmusic: Implement IDirectMusic8Impl_EnumMasterClock. dmusic: Check errors in IDirectMusic8Impl_Activate and remove FIXME. include: Add definition of IKsControl interface in dmksctrl.h. amstream: Add checks to GetFormat. amstream: Add the corresponding pin to every media stream added to the media stream filter + add tests. d3drm: Implement IDirect3DRMFrameX_GetParent and update tests. d3drm: Implement IDirect3DRMFrameX_GetChildren method and IDirect3DRMFrameArray interface. dmusic: Midi mes...
2020 Feb 28
0
Wine release 5.3
...l: Allow final null in RtlNormalizeString() even if 0 is an invalid character. Alistair Leslie-Hughes (2): oledb32: Ensure provider is selected before changing tabs. dmstyle: IDirectMusicStyle8 GetDefaultBand return S_FALSE. Anton Baskanov (3): amstream: Implement AMAudioStream::GetFormat. amstream: Implement AMAudioStream::SetFormat. amstream: Reject incompatible media types in AMAudioStream::ReceiveConnection. Aurimas Fi?eras (3): po: Update Lithuanian translation. po: Update Lithuanian translation. po: Update Lithuanian translation. Biswapriyo Nath...
2020 Jun 19
0
Wine release 5.11
...42053 Grand Theft Auto III fails to lauch from Steam 43232 Test Drive 6 - track is black 44498 Legend of Kay: Anniversary Edition does not play cutscenes (needs {48e2ed0f-98c2-4a37-bed5-166312ddd83f} CLSID_MFReadWriteClassFactory) 44957 Kea Coloring Book crashes (needs IAudioMediaStream::GetFormat() implementation) 45093 mpc-hc player produces no audio output 45571 League of Legends 8.12+ fails to start a game (anticheat engine, hooking of NtCreateThread/Ex) 45572 League of Legends 8.12+ fails to start a game (anticheat engine, hooking of NtContinue) 45667 League of Legends 8.15+...