beveloper
b6270d60b2
Cleanup of MixerOutput class, the channel type is now used instead of channel designation or channel_mask
...
Implemented output channel remapping controls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 00:27:47 +00:00
beveloper
0c63c7d061
Started implementing input and output channel mapping controls.
...
Optimized inner loop of mix thread, up to 10% faster now.
Moved some #includes around.
Added #define for maximum supported channel types.
Removed static buffers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 22:30:51 +00:00
beveloper
c378a5ecf8
limit maximum latency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:58:34 +00:00
beveloper
6c8c941ac3
moved max() function and added min() function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:57:42 +00:00
Michael Pfeiffer
9369306ef7
Changed include file name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:36:39 +00:00
beveloper
8936182d3c
preparing for input/output channel mapping.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:36:10 +00:00
Michael Pfeiffer
633abe4191
Uncommented printerdriveraddon.a.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:34:15 +00:00
Michael Pfeiffer
60337ce111
Added more meta data to PS stream.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:33:31 +00:00
Michael Pfeiffer
c2320d3772
Changes for 2.0b1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:32:18 +00:00
beveloper
57b75f140b
The mixer gain controls must change the physical input channels, not the virtual mixer internal channels.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 01:53:42 +00:00
beveloper
b326a30e21
implemented muting of the master output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:49:23 +00:00
beveloper
2cb2bc4111
Use B_MASTER_GAIN kind for master gain control to allow Deskbar volume control to work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:38:11 +00:00
beveloper
087e6a8afd
fixed MediaPlayer volume control bug by using R5 like ID assignments (taken from media kit SoundPlayer.cpp)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:29:38 +00:00
beveloper
1c237c1852
implemented mute support for input channel, fixed casting bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:13:24 +00:00
beveloper
9391f0a552
added mixer gain controls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 23:57:13 +00:00
Philippe Houdoin
c2c29c32a6
TransportAddOnTemplate.cpp -> PrintTransportAddOnTemplate.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 23:29:42 +00:00
Philippe Houdoin
73a06d9625
Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h] as "Transport" is
...
not enough explicit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 22:51:42 +00:00
Philippe Houdoin
894c59e0a9
Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h], as "Transport"
...
is not enough explicit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 22:35:54 +00:00
Michael Pfeiffer
9bdaa888c9
Bug fix.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 20:41:31 +00:00
beveloper
b5a088d01f
avoid creation of loopback connections
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 16:21:01 +00:00
beveloper
af8d0a4d4e
Fixed the input buffer looping bug that existed if an input wouldn't receive new buffers. Now kips inputs that have no available data.
...
When no input is connected, use a fast path for sending an empty buffer.
No more debugging output when DEUBG < 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 15:45:37 +00:00
beveloper
a2ca472394
cleanup of debugging code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 13:59:11 +00:00
beveloper
1081d7ce81
now supports endian adjustment at the output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 11:36:36 +00:00
beveloper
15dca7402c
a minor performance improvement
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 11:05:45 +00:00
beveloper
fcfad7f823
cosmetic change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 10:43:29 +00:00
beveloper
fbd392018b
uses about 20% less CPU now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 10:42:23 +00:00
beveloper
20789329c3
a simple list template that uses realtime memory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 10:41:09 +00:00
beveloper
52ae1ec688
disabled double rate mixing, it's not useful with the current resampling implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 00:16:53 +00:00
beveloper
60e2e68ce4
finally it does mixing, but we should get rid of the CPU eating List template
...
at this place, as it internally calls malloc, free, new and delete quite often
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 23:08:00 +00:00
beveloper
806cf56077
default channel assignment profiles
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 21:44:11 +00:00
beveloper
fae6ce82e3
added output channel control functions,
...
made most often called functions inline
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 20:03:44 +00:00
Michael Pfeiffer
33f2c6fb7d
Fixed wrong device path.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 19:05:17 +00:00
Michael Pfeiffer
8843cf3906
Modified to use libtransportaddon.a.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:45:47 +00:00
Michael Pfeiffer
37b3e403fe
Added untested Serial Port transport add-on.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:43:54 +00:00
Michael Pfeiffer
cca5b73672
USB Port transport add-on contributed by Andreas Benzler
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:43:10 +00:00
Michael Pfeiffer
78ed38a8a8
Added USB Port and Serial Port transport add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:41:16 +00:00
Michael Pfeiffer
0146564896
Added static libraries used by transport and printer driver add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 18:34:33 +00:00
beveloper
7619f562d5
fixed the debug output, added a workaround for missing samples if the
...
mixer framerate is not an integral multiple of the input framerate
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 16:02:15 +00:00
Waldemar Kornewald
e19f10fab7
Corrected get_ip_id() so that it uses atomic_add() instead of a semaphore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 15:47:40 +00:00
beveloper
cb595db745
added an additional sanity check
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 14:55:46 +00:00
beveloper
7d970b3122
finally fixed the last major bug that was reponsible for plops
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 14:54:00 +00:00
beveloper
191033ef76
debugging improvement, fixed locking, fixed sample copy bug in channel 1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 11:36:39 +00:00
beveloper
356855c3f6
ugly workaround, create a new pool for each input mix buffer,
...
to avoid running out of default pool memory. It would be much
better if a pool would grow if more memory is requested than
available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 01:17:52 +00:00
beveloper
dfe7be41fb
small work around
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 01:15:49 +00:00
beveloper
d5848e21a4
rewrote start and stop handling to allow connecting an input without
...
having an output, followed by starting the node.
fix some bugs of handling an unconnected output
added better locking to the mix thread
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 00:31:36 +00:00
beveloper
90f98241f4
added some sanity checks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 00:29:08 +00:00
beveloper
8d28117ff7
multiple bugfixes, but still many pops in output audio stream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:07:47 +00:00
beveloper
5ca6a7e85e
renamed the media node
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:05:56 +00:00
beveloper
c47e5a5ae9
added format change function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 23:04:21 +00:00
beveloper
2560202bae
additional helper functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 22:59:53 +00:00