- 02 Aug, 2013 3 commits
-
-
Jean-Baptiste Kempf authored
This reverts commit e61ba5a7.
-
Jean-Baptiste Kempf authored
Close #9117
-
Jean-Paul Saman authored
-
- 01 Aug, 2013 2 commits
-
-
Denis Charmet authored
The buffer size must be a multiple of the number of channels*sample_size or looping will break the channel layout. Close #8483
-
Rafaël Carré authored
Refs #9108
-
- 30 Jul, 2013 2 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
- 29 Jul, 2013 4 commits
-
-
Dominique Leuenberger authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Martin Storsjö authored
This fixes ANativeWindow usage on 2.3 and 3.x. Therefore, revert back to preferring ANativeWindow over the private symbols. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Even if ANativeWindow is a public API, the release call seems to crash on a Nexus One (running 2.3) and on a Galaxy Tab (running 3.2). The exact reason is not known or understood yet, but it might be due to accessing and dealing with the Surface from both Java (via the SurfaceHolder class) and via the ANativeWindow API. Therefore, only use the ANativeWindow if the old methods aren't found (that is, on 4.3). The ANativeWindow output works fine on firmwares as early as 4.0 though. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Rafaël Carré authored
Fix ba8cad3a
-
- 28 Jul, 2013 10 commits
-
-
Felix Paul Kühne authored
-
Felix Paul Kühne authored
-
Felix Paul Kühne authored
-
David Fuhrmann authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Martin Storsjö authored
If we didn't have enough data to fill the buffer, fill the rest of it with zeros. This is better than playing back whatever happened to be there from before. Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
-
Martin Storsjö authored
This (more or less) reverts commit 2b7e0168. Stopping the aout from within the callback like this could lead to deadlocks, where AudioOutputUnitStop in the callback thread and AudioOutputUnitStart in the audio decoder thread blocked each other (noticed at startup of playback on a 3GS with iOS 6.0). Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
-
Rémi Denis-Courmont authored
-
- 27 Jul, 2013 4 commits
-
-
Pierre Ynard authored
Apparently this is the new fad and comes in several length-flavors
-
Rémi Denis-Courmont authored
-
Wills Wang authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Rémi Denis-Courmont authored
This is the _VLC_ source code.
-
- 26 Jul, 2013 9 commits
-
-
Rémi Denis-Courmont authored
The buffer from decoder_NewAudioBuffer() was only used if the audio output format was planar. Now it is allocated only in that case. This also remove leaks when decoder_NewAudioBuffer() failed.
-
Rémi Duraffort authored
Fix cid #1048854
-
Rémi Duraffort authored
-
Rémi Duraffort authored
In case of a wrongly formated file, the strings where never dealocated. Same if some strings where empty.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This has two benefits: - allow zero copy in audio decoders, - allow negotiation of the output formats (potentially for S/PDIF).
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
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 6 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
-