~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to dxlist/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-01-03 17:08:06 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103170806-eodntb2slv6g2pb6
Tags: 0.6.6-0ubuntu1
* The "just before FF" release.
* New upstream release.
* debian/control: Bumped Standards-Version to 3.8.0.
* debian/copyright: Changed (C) to © to fix Lintian warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dxlist is a small console application for Windows which can list the
 
2
directsound devices and directdraw display devices. This info is then used
 
3
by smplayer.
 
4
 
 
5
Usage: just run dxlist.exe with the -d or -s switches. -d shows the display
 
6
devices, -s the sound devices.
 
7
 
 
8
Compiling: in order to compile it you need the directx headers 
 
9
(you can get a package here: http://www.videolan.org/vlc/dx7headers.tgz), and
 
10
extract it in the directx folder. Then just compile it with the usual:
 
11
 
 
12
qmake
 
13
make
 
14
 
 
15
Installation: dxlist.exe has to be installed on the same folder as smplayer.exe.
 
16
 
 
17
Someone may be wondering... why don't you just simply call mplayer to get that 
 
18
info instead of writing this program?
 
19
 
 
20
Yes, mplayer can display that info, but there are several inconveniences:
 
21
 
 
22
1) it's necessary to use the -v switch. That makes mplayer to be much more 
 
23
verbose, that could even have an impact on performace (at least that was
 
24
a problem with old versions of Qt)
 
25
 
 
26
2) it's necessary to play a file. Yes, you can't get the info if you don't
 
27
play a file. That's a problem, smplayer wouldn't be able to get the info until
 
28
the user has at least played one file.
 
29
 
 
30
3) even worse, to get the info about the attached displays, you have to
 
31
use the -adapter option, but how can you know what value to use for 
 
32
-adapter if you don't know yet the list of valid values?
 
33
 
 
34
Because of those problems, I found easier to try to get that info using other
 
35
ways. This program just outputs the required info, no need to play anything,
 
36
smplayer can call it whenever it needs it.
 
37
 
 
38
Finally, the reason to implement all this in a separate program and not inside
 
39
smplayer itself (which would have been easier) is just simply to avoid it
 
40
to depend on directx, and require everyone who want to compile it to install 
 
41
the directx headers. After all this (dxlist) program is optional, smplayer 
 
42
can work without it.