Commit Graph

12449 Commits

Author SHA1 Message Date
Dario Casalinuovo
5c05bb48f4 AdapterIO: Remove default arguments in ctor 2016-07-09 02:14:37 +02:00
Alexander von Gluck IV
e52593c403 ahci: Disable tracing, make tracing more chatty
* AHCI has been shipping with tracing enabled which
  account for most of the chatty messages in #12634
* Instead of covering up a bunch of AHCI trace messages,
  lets disable tracing by default and make tracing more
  chatty overall.
* Tracing now should give you a ton of insight into
  whats going on to an obnoxious degree.  Disable tracing
  and things are silent (minus the nice link port speed)
2016-07-08 12:52:37 -05:00
Alexander von Gluck IV
7d842421ab media/ffmpeg: Fix a few parentheses warnings; no change 2016-07-05 22:02:04 -05:00
Alexander von Gluck IV
d1175e07f8 media/ffmpeg: Fix a few minor x86_64 warnings 2016-07-05 21:51:59 -05:00
Alexander von Gluck IV
9be1b5a16f ahci: Improve emulated SCSI vendor/model info
* Make some educated gusses on SCSI vendor/model
  information vs just blasting it across the fields.
* Should resolve a lot of the weird split SCSI vendor
  and model information of AHCI backed devices.
2016-07-04 15:05:39 -05:00
Dario Casalinuovo
b4e751b890 http_streamer: Mutable flag is chosen at runtime
* BeOS Radio now works.
2016-07-03 15:29:56 +02:00
Dario Casalinuovo
d3630cbaec http_streamer: Refine init, set static timeout
* When in Open() the plugin wait for the first buffer
or return an error if timeout expires.
* Make size retrieve more reliable.
2016-07-02 21:19:27 +02:00
Jérôme Duval
e3d81394b6 XHCI: whitelist 0x9c31 Haswell/Panther Point.
* works nicely (~150 MB/s, 22GB read in about 145s, Linux does 410MB/s).
* also tested Fresco Logic FL1009 OK, but segfaults seem to happen once in a while.
2016-07-01 15:31:53 +02:00
Alexander von Gluck IV
30d631c821 radeon_hd: Add new Polaris GPU, untested 2016-06-30 15:09:59 -05:00
Dario Casalinuovo
1acb1f504d Style fixes 2016-06-30 16:54:40 +02:00
Dario Casalinuovo
93a1f9d274 http_streamer: Sync with BAdapterIO changes 2016-06-30 16:54:40 +02:00
Jérôme Duval
936696c78a XHCI: fix handling of transfer events.
* previously processing of transfer began when an event on the transfer descriptor happened. Now wait until the last TRB to be processed to process and free the descriptor. Chains are probably not handled correcly yet, but usual transfers happen on a single TD.
* use a specific link pointer for transfer descriptor chains.
* tested on VirtualBox passthrough with mounting an external SSD enclosure. It doesn't scale well with SMP: 1CPU ~115MB/s, 2CPU ~65MB/s, 4 CPU ~50MB/s.
* whitelist controller Intel product ID 0x1e31 (found on VB5).
2016-06-30 12:16:58 +02:00
Murai Takashi
7627095fb0 multi.cpp: Fix clang warnings.
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-06-27 23:31:04 +02:00
Dario Casalinuovo
241a32926b http_streamer: Handle Run() failed 2016-06-25 13:46:56 +02:00
Dario Casalinuovo
4dd09daff7 Streaming: Use const reference in place of copying
* Thanks to Markus for reporting.
2016-06-25 01:13:10 +02:00
Dario Casalinuovo
7f28cdba0c http_streamer: Check request after creation
* Thanks to DeadYak for the help.
2016-06-24 23:02:35 +02:00
Dario Casalinuovo
0ba82236bd Streaming: Remove any pointer BUrl argument
* There's no need to pass BUrl by pointer, this is
potentially dangerous and leaky without any advantage,
copying is definitely safer.
2016-06-24 19:00:38 +02:00
Dario Casalinuovo
40dca224fc http_streamer: Style fixes and cleanup 2016-06-23 00:38:50 +02:00
Dario Casalinuovo
f1c771f8d1 HTTPMediaIO: Implement SetSize and GetSize
* SetSize requests are denied where GetSize return the request
lengths. Note that flags are changed accordingly.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo
b13f52bf20 RTSPMediaIO: Improve thread control
* Instead to exit the thred we will wait until the live555
eventLoop quits peacefully.
* Better error handling.
* Implement SetSize as a not supported operation.
2016-06-23 00:38:33 +02:00
Dario Casalinuovo
d56f636bf4 ape_reader: Refuse to work on streaming data
* The MACLib try to find the APE_DESCRIPTOR in the whole file, this
will not work for streams with a finite size.
2016-06-23 00:38:33 +02:00
Murai Takashi
9ff9025759 XHCI: Increase fScratchpadCount size
* To fix clang's '-Wtautological-constant-out-of-range-compare' warnings in xhci.cpp.
* by korli: adjust trace print macro.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2016-06-19 11:52:18 +02:00
Alexander von Gluck IV
c8cfaef631 intel_extreme: Fix PLL calculation on g4x and later 2016-06-18 16:44:31 -05:00
Alexander von Gluck IV
699b2cbcf9 intel_extreme: Introduce PLL simulation mode
* Intel extreme PLL calculations are insane at times
* This code allows us to simulate PLL calculations on
  cards without the real hardware.
2016-06-18 11:49:42 -05:00
Dario Casalinuovo
0957c8215e rtsp_streamer run loop in a separate thread
* Other general improvements.
* Clarify the exit policy.
* Call NotifyError in shutdownStream.
2016-06-04 15:51:50 +02:00
Dario Casalinuovo
d004f81304 Style fixes 2016-06-04 15:51:50 +02:00
Alexander von Gluck IV
f76e95bde1 h2debug: Drop reserved debug define 2016-06-03 22:47:11 -05:00
Alexander von Gluck IV
7017be48e8 Revert "h2generic: don't mess with DEBUG."
This reverts commit 63806897ef.
As discussed on the ML. Doesn't align to our normal debug practices
2016-06-03 21:55:01 -05:00
Jérôme Duval
63806897ef h2generic: don't mess with DEBUG. 2016-06-03 12:08:17 +02:00
Dario Casalinuovo
4c7eafb74b Include testing version rtsp_streamer
* Rewritten from scratch to use live555 and BAdapterIO.
2016-06-02 19:11:38 +02:00
Dario Casalinuovo
fbabc74ddf http_streamer: General refactor making use of new API
* Use BUrlProtocolRoster instead of BFileRequest.
* Removed HTTPMediaIO custom code that now inherits
BAdapterIO and make the whole thing more simple.
* It work with some formats (flv, mp3, mkv) but ffmpeg fail
on others (mp4, 3gp).
* GetSize needs improvements.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
2a8ae5e815 ape_reader: Use the BPositionIO GetSize
* Avoid to seek to the end to know the total size.
2016-05-31 01:15:09 +02:00
Dario Casalinuovo
888469408c APEReader: Check initialization error 2016-05-31 01:15:09 +02:00
Dario Casalinuovo
ec24d0c9cc http_streamer enable building 2016-05-31 01:15:09 +02:00
Dario Casalinuovo
617b62c9d9 http_streamer: Add basic draft version 2016-05-31 01:15:09 +02:00
Augustin Cavalier
9b5957aae8 SMTP: Fix coding style violations. 2016-05-13 16:09:19 -04:00
Murai Takashi
43e52704ce fs_cache.c: gcc6 build fix
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:40:26 -04:00
Murai Takashi
1991604444 FireWireDVNode.cpp: fix gcc6 build
* fix gcc6 '-Werror=literal-suffix' warning.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:39:43 -04:00
Murai Takashi
f543eb4147 config.h: fix gcc6 build
* fix gcc6 '-Werror=literal-suffix' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:38:20 -04:00
Murai Takashi
e5cb76befd accelerants/radeon: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:38:02 -04:00
Murai Takashi
f92ba94cd3 nv_acc_dma.c: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:37:39 -04:00
Murai Takashi
2df5a0bafe TIFFTranslator.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:37:09 -04:00
Murai Takashi
f739df8e3c SMTP.cpp: fix gcc6 build
* Add curly braces to fix '-Werror=misleading-indentation' warnings.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:20:30 -04:00
Murai Takashi
5e885c5f1c IMAPConnectionWorker.cpp: fix gcc6 build
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-05-13 15:20:01 -04:00
Augustin Cavalier
8f3b264a06 usb_audio: Change driver path to match Haiku conventions. 2016-05-13 14:45:19 -04:00
Alexander von Gluck IV
a32e815673 intel_extreme: Shorten graphics family names 2016-05-11 12:35:50 -05:00
Alexander von Gluck IV
9407ab29c4 intel_extreme: Rework PLL calculation
* More like linux, improved G4x calculations
* Reduce un-needed pll limit complexity
* Improved pll limits on ports based on type
2016-05-11 12:34:51 -05:00
Alexander von Gluck IV
95e38537e0 intel_extreme: Tab cleanup; no functional change.
* It seems like the Atom editor has been injecting
  spaces in strange spots.
* Clean up spaces. Should help gcc6 as well.
* Sorry for the mess! Atom is on probation.
2016-05-09 16:36:25 -05:00
Murai Takashi
ab9903c56a ringqueue.cpp: fix gcc6 build 2016-05-09 10:39:59 -05:00
Murai Takashi
5265115b17 Ports.cpp: fix gcc6 build
* Reindent source code, to fix gcc6
  '-Werror=misleading-indentation' warnings.
2016-05-09 10:36:34 -05:00