[Bug 743758] New: osxaudio reports fixed audio capabilities

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 30 17:08:56 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743758
  GStreamer | gst-plugins-good | 1.x

           Summary: osxaudio reports fixed audio capabilities
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ilya.konstantinov at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Unlike plugins such as alsa, the osxaudio plugin reports fixed audio
capabilities for sources. As a result, we don't use the hardware to its full
extent and may require CPU-intensive resampling.

OS X PLATFORM:

On OS X, we can probably use kAudioStreamPropertyAvailableVirtualFormats and
kAudioStreamPropertyAvailablePhysicalFormats should probably be used, as
explained in:
http://lists.apple.com/archives/coreaudio-api/2005/Nov/msg00156.html

They're already used in _audio_stream_get_formats (gstosxcoreaudiohal.c) albeit
only to detect SPDIF availability.

IOS PLATFORM:

On iOS, CoreAudio is absent and we use Remote IO, which doesn't offer supported
formats. Instead, the app developer configures the AVAudioSession (e.g. for her
preferred sample rate) and we should retrieve the AVAudioSession's sampleRate
property.

Current version always F32LE format with GST_AUDIO_DEF_RATE (= 44100) sampling
rate.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list