- 26 Jul, 2013 1 commit
-
-
Martin Storsjö authored
This makes the android vout work on Android 4.3. This API is available since Android 2.3/Gingerbread (api level 9). It's a public, official API, contrary to the earlier hacking by accessing the internal C++ Surface class directly. In most cases, the ANativeWindow API is a very thin wrapper doing pretty much the same as the existing Surface class entry points we've been using. In Android 4.3, the C++ Surface class lock function we've been using was renamed again, but using the new corresponding function as we've done before doesn't work any longer. Therefore, use the public API where possible (loading it dynamically, to not break compatibility with pre-2.3 devices). The only non-public API used in the vout is now the YV12 pixel format, which doesn't work on all devices. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 25 Jul, 2013 9 commits
-
-
Rafaël Carré authored
Fixes #8760
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
The ALSA channels maps only indicate the order(s) of channels supported by the audio adapter. They do not imply that all channels are actually physically wired.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rafaël Carré authored
-
Rafaël Carré authored
-
- 24 Jul, 2013 28 commits
-
-
Jean-Baptiste Kempf authored
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
The original code was non-working because the notication was never setup correctly and resulted in a DSERR_INVALIDCALL. A proper fix would look like: if( sys->p_notify ) { + IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer ); DSBPOSITIONNOTIFY notif = {.dwOffset = aout->sys->i_write, .hEventNotify = sys->hnotify_evt } ; if( IDirectSoundNotify_SetNotificationPositions( sys->p_notify, 1, ¬if ) == DS_OK ) { + IDirectSoundBuffer_Play( aout->sys->p_dsbuffer, 0, 0, DSBPLAY_LOOPING ); WaitForSingleObject( sys->hnotify_evt, INFINITE ); IDirectSoundBuffer_Stop( aout->sys->p_dsbuffer ); } But fixing it makes the problem worse since the notification is setup too late and thus the buffer will replay a full loop of the back buffer during a drain. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Ludovic Fauvet authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Sebastien Zwickert authored
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
-
Rémi Denis-Courmont authored
With the reference counting stuff, the AVFrame structure is gone or unreachable by the time the release function is called.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This will simplify later commits.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This can happen in some corner cases such as flushing (luckily the leak would automatically be resolved when the device instance is released).
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This reenables direct rendering with libavcodec in most cases.
-
Rémi Denis-Courmont authored
-
Mark Lee authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Mark Lee authored
Functions are provided to: * query the available equalizer presets * create a new default equalizer instance * create an equalizer instance from a preset * set individual equalizer band amplitudes * set equalizer pre-amplification * apply an equalizer to a media player Equalizer settings can be applied whether media is playing or not, and will automatically be retained when playing media subsequently. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Francois Cartegnie authored
-
Francois Cartegnie authored
-
Rafaël Carré authored
Fixes: #8516
-
- 23 Jul, 2013 2 commits
-
-
Rémi Denis-Courmont authored
In C, an enumeration is unsigned unless it contains an explicit negative member.
-
Rémi Denis-Courmont authored
-