search for: ci_assert_not_reach

Displaying 2 results from an estimated 2 matches for "ci_assert_not_reach".

2014 Feb 02
1
Trouble implementing ov_callbacks, endless loop calling seek_func
...lOggVorbis *)datasource; switch( whence ) { case SEEK_SET: sourceFile->mStream->seekAbsolute( (off_t)offset ); break; case SEEK_CUR: sourceFile->mStream->seekRelative( (off_t)offset ); break; case SEEK_END: sourceFile->mStream->seekAbsolute( (off_t)( - offset ) ); break; default: CI_ASSERT_NOT_REACHABLE(); return -1; } return 0; } int SourceFileImplOggVorbis::closeFn( void *datasource ) { return 0; } long SourceFileImplOggVorbis::tellFn( void *datasource ) { auto sourceFile = (SourceFileImplOggVorbis *)datasource; long pos = sourceFile->mStream->tell(); return pos; } The source fil...
2014 Feb 02
0
unsubscribe
...e->mStream->seekAbsolute( (off_t)offset ); > break; > case SEEK_CUR: > sourceFile->mStream->seekRelative( (off_t)offset ); > break; > case SEEK_END: > sourceFile->mStream->seekAbsolute( (off_t)( - offset ) ); > break; > default: > CI_ASSERT_NOT_REACHABLE(); > return -1; > } > > return 0; > } > > int SourceFileImplOggVorbis::closeFn( void *datasource ) > { > return 0; > } > > long SourceFileImplOggVorbis::tellFn( void *datasource ) > { > auto sourceFile = (SourceFileImplOggVorbis *)datasource;...