当前位置: 首页>>代码示例>>Java>>正文


Java SyncState类代码示例

本文整理汇总了Java中com.jcraft.jogg.SyncState的典型用法代码示例。如果您正苦于以下问题:Java SyncState类的具体用法?Java SyncState怎么用?Java SyncState使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


SyncState类属于com.jcraft.jogg包,在下文中一共展示了SyncState类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: initJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
private void initJOrbis() {
	oy = new SyncState();
	os = new StreamState();
	og = new Page();
	op = new Packet();

	vi = new Info();
	vc = new Comment();
	vd = new DspState();
	vb = new Block(vd);

	buffer = null;
	bytes = 0;

	oy.init();
}
 
开发者ID:mars-sim,项目名称:mars-sim,代码行数:17,代码来源:OGGSoundClip.java

示例2: init_jorbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
  * Initializes all the jOrbis and jOgg vars that are used for song playback.
  */
 private void init_jorbis()
 {
   oggSyncState_ = new SyncState();
   oggStreamState_ = new StreamState();
   oggPage_ = new Page();
   oggPacket_ = new Packet();
   vorbisInfo = new Info();
   vorbisComment = new Comment();
   vorbisDspState = new DspState();
   vorbisBlock = new Block(vorbisDspState);
   buffer = null;
   bytes = 0;
currentBytes = 0L;
   oggSyncState_.init();
 }
 
开发者ID:fredsa,项目名称:forplay,代码行数:19,代码来源:DecodedVorbisAudioInputStream.java

示例3: initJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
private void initJOrbis() {
    oy = new SyncState();
    os = new StreamState();
    og = new Page();
    op = new Packet();

    vi = new Info();
    vc = new Comment();
    vd = new DspState();
    vb = new Block(vd);

    buffer = null;
    bytes = 0;

    oy.init();
}
 
开发者ID:kontalk,项目名称:desktopclient-java,代码行数:17,代码来源:OggClip.java

示例4: initJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
private void initJOrbis(){
    oy=new SyncState();
    os=new StreamState();
    og=new Page();
    op=new Packet();
  
    vi=new Info();
    vc=new Comment();
    vd=new DspState();
    vb=new Block(vd);
  
    buffer=null;
    bytes=0;

    oy.init();
}
 
开发者ID:MeRPG2,项目名称:EndHQ-Libraries,代码行数:17,代码来源:OggClip.java

示例5: initializeJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initializes OGG player
 */
private void initializeJOrbis() {
  joggPacket = new Packet();
  joggPage = new Page();
  joggStreamState = new StreamState();
  joggSyncState = new SyncState();
  jorbisDspState = new DspState();
  jorbisBlock = new Block(jorbisDspState);
  jorbisComment = new Comment();
  jorbisInfo = new Info();
  joggSyncState.init();
}
 
开发者ID:tuomount,项目名称:Open-Realms-of-Stars,代码行数:15,代码来源:OggPlayer.java

示例6: initJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initialize JOrbis.
 */
void initJOrbis() {
	oy = new SyncState();
	os = new StreamState();
	og = new Page();
	op = new Packet();

	vi = new Info();
	vc = new Comment();
	vd = new DspState();
	vb = new Block(vd);

	oy.init();
}
 
开发者ID:akarnokd,项目名称:open-ig,代码行数:17,代码来源:OggMusic.java

示例7: initializeJOrbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initializes JOrbis.
 */
private void initializeJOrbis()
{
  joggPacket = new Packet();
  joggPage = new Page();
  joggStreamState = new StreamState();
  joggSyncState = new SyncState();
  jorbisDspState = new DspState();
  jorbisBlock = new Block(jorbisDspState);
  jorbisComment = new Comment();
  jorbisInfo = new Info();
  
  // Initialize SyncState
  joggSyncState.init();
}
 
开发者ID:tuomount,项目名称:JHeroes,代码行数:18,代码来源:OggPlayer.java

示例8: init_jorbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initializes all the jOrbis and jOgg vars that are used for song playback.
 */
private void init_jorbis()
{
  oggSyncState_ = new SyncState();
  oggStreamState_ = new StreamState();
  oggPage_ = new Page();
  oggPacket_ = new Packet();
  vorbisInfo = new Info();
  vorbisComment = new Comment();
  vorbisDspState = new DspState();
  vorbisBlock = new Block(vorbisDspState);
  buffer = null;
  bytes = 0;
  oggSyncState_.init();
}
 
开发者ID:fredsa,项目名称:forplay,代码行数:18,代码来源:VorbisAudioFileReader.java

示例9: init

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initialize states.
 */
private void init() {
    ogg_sync_state = new SyncState();
    ogg_stream_state = new StreamState();
    ogg_page = new Page();
    ogg_packet = new Packet();

    vorbis_info = new Info();
    vorbis_comment = new Comment();
    vorbis_dsp_state = new DspState();
    vorbis_block = new Block(vorbis_dsp_state);

    ogg_sync_state.init();
}
 
开发者ID:snogaraleal,项目名称:droidcast,代码行数:17,代码来源:Decoder.java

示例10: bufferData

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
private int bufferData(InputStream in, SyncState oy)
{
	try {
		int fill = oy.buffer(4096);
		byte[] buffer2 = oy.data;
		int bytes = in.read(buffer2, fill, 4096);
		if (bytes < 0)
			return bytes;
		oy.wrote(bytes);
		return (bytes);
	} catch (IOException e) {
		e.printStackTrace();
		return -1;
	}
}
 
开发者ID:OrionNebula,项目名称:JavaGL-Theora,代码行数:16,代码来源:VideoPlayer.java

示例11: init_jorbis

import com.jcraft.jogg.SyncState; //导入依赖的package包/类
/**
 * Initializes all the jOrbis and jOgg vars that are used for song playback.
 */
private void init_jorbis()
{
	m_oggSyncState = new SyncState();
	m_oggStreamState = new StreamState();
	m_oggPage = new Page();
	m_oggPacket = new Packet();

	m_vorbisInfo = new Info();
	m_vorbisComment = new Comment();
	m_vorbisDspState = new DspState();
	m_vorbisBlock = new Block(m_vorbisDspState);

	m_oggSyncState.init();
}
 
开发者ID:projectestac,项目名称:jclic,代码行数:18,代码来源:JorbisFormatConversionProvider.java


注:本文中的com.jcraft.jogg.SyncState类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。