## IpatchSampleStoreSwap

IpatchSampleStoreSwap — Sample storage object for audio in a temporary swap file

## Stability Level

Stable, unless otherwise indicated

## Synopsis

                        IpatchSampleStoreSwap;
    #define             IPATCH_SAMPLE_STORE_SWAP_UNUSED_FLAG_SHIFT
    IpatchSample *      ipatch_sample_store_swap_new        (void);
    int                 ipatch_sample_store_swap_get_unused_size
                                                            (void);

## Object Hierarchy

      GObject
       +----IpatchItem
             +----IpatchSampleStore
                   +----IpatchSampleStoreFile
                         +----IpatchSampleStoreSwap

## Implemented Interfaces

IpatchSampleStoreSwap implements IpatchSample.

## Description

## Details

### IpatchSampleStoreSwap

    typedef struct _IpatchSampleStoreSwap IpatchSampleStoreSwap;

### IPATCH_SAMPLE_STORE_SWAP_UNUSED_FLAG_SHIFT

    #define             IPATCH_SAMPLE_STORE_SWAP_UNUSED_FLAG_SHIFT

### ipatch_sample_store_swap_new ()

    IpatchSample *      ipatch_sample_store_swap_new        (void);

Creates a new disk swap sample store.

Returns : | New disk swap sample store, cast as an IpatchSample for convenience.

### ipatch_sample_store_swap_get_unused_size ()

    int                 ipatch_sample_store_swap_get_unused_size
                                                            (void);

Get amount of unused space in the swap file.

Returns : | Amount of unused data in bytes