Ignore:
Timestamp:
Dec 19, 2018, 3:18:05 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
99365e9
Parents:
dbad82c
Message:

[io] sink_apple_audio can now write aiff, mp4, and aac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_apple_audio.h

    rdbad82c r2b208a8  
    9797/**
    9898
     99  preset sink format
     100
     101  \param s sink, created with ::new_aubio_sink_apple_audio
     102  \param fmt format of the file to create
     103
     104  \return 0 on success, 1 on error
     105
     106  Preset the format of the sink. Supported format strings:
     107   - "wav": WAVE, 16 bit (default)
     108   - "aiff": AIFF, 16 bit
     109   - "m4a" or "mp4": Apple Audio Lossless Codec (ALAC)
     110   - "aac": Audio Advanced Codec, lossy
     111
     112  Full list of supported encoding format is available in Table 1-2 of
     113  `Multimedia Programming Guide
     114  <https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html>`_.
     115
     116 */
     117uint_t aubio_sink_apple_audio_preset_format(aubio_sink_apple_audio_t *s,
     118    const char_t *fmt);
     119
     120/**
     121
    99122  get samplerate of sink object
    100123
Note: See TracChangeset for help on using the changeset viewer.