media/libvorbis/lib/registry.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /********************************************************************
     2  *                                                                  *
     3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
     4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
     7  *                                                                  *
     8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007             *
     9  * by the Xiph.Org Foundation http://www.xiph.org/                  *
    10  *                                                                  *
    11  ********************************************************************
    13  function: registry for time, floor, res backends and channel mappings
    14  last mod: $Id: registry.h 15531 2008-11-24 23:50:06Z xiphmont $
    16  ********************************************************************/
    18 #ifndef _V_REG_H_
    19 #define _V_REG_H_
    21 #define VI_TRANSFORMB 1
    22 #define VI_WINDOWB 1
    23 #define VI_TIMEB 1
    24 #define VI_FLOORB 2
    25 #define VI_RESB 3
    26 #define VI_MAPB 1
    28 extern const vorbis_func_floor     *const _floor_P[];
    29 extern const vorbis_func_residue   *const _residue_P[];
    30 extern const vorbis_func_mapping   *const _mapping_P[];
    32 #endif

mercurial