Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89d5ab3 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

libmedia: Add ICS constructor for getOutput

Used by the Tegra ICS OMX libraries

Change-Id: I2f6e7f10f11b53853626d1be86e7b2be870720f4
parent a6f2c7b1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -608,6 +608,14 @@ audio_io_handle_t AudioSystem::getOutput(audio_stream_type_t stream,
    return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo);
}

extern "C" audio_io_handle_t _ZN7android11AudioSystem9getOutputE19audio_stream_type_tjjj27audio_policy_output_flags_t(audio_stream_type_t stream,
                                    uint32_t samplingRate,
                                    uint32_t format,
                                    uint32_t channels,
                                    audio_output_flags_t flags) {
    return AudioSystem::getOutput(stream,samplingRate,(audio_format_t) format, channels, flags);
}

status_t AudioSystem::startOutput(audio_io_handle_t output,
                                  audio_stream_type_t stream,
                                  int session)