Searched refs:channel (Results 1 - 25 of 166) sorted by relevance

1234567

/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerOutput.h13 /* The data storage for channel sources is optimized
37 int GetOutputChannelType(int channel);
38 void SetOutputChannelGain(int channel,
40 float GetOutputChannelGain(int channel);
42 // The sources for each channel
43 void AddOutputChannelSource(int channel,
45 void RemoveOutputChannelSource(int channel,
47 void SetOutputChannelSourceGain(int channel,
50 float GetOutputChannelSourceGain(int channel,
52 bool HasOutputChannelSource(int channel,
109 GetOutputChannelGain(int channel) argument
118 GetOutputChannelSourceCount(int channel) argument
125 GetOutputChannelSourceInfoAt(int channel, int source_index, int *source_type, float *source_gain) argument
[all...]
H A DMixerOutput.cpp96 // all the cached values are 0.0 for a new channel
125 TRACE("UpdateOutputChannels: output channel %d, type %2d, gain %.3f\n", i, fOutputChannelInfo[i].channel_type, fOutputChannelInfo[i].channel_gain);
138 // we have only one phycial output channel, and use it as a mix of
140 TRACE("AssignDefaultSources: 1 channel setup\n");
162 TRACE("AssignDefaultSources: 2 channel setup\n");
163 // left channel:
177 // right channel:
192 TRACE("AssignDefaultSources: 4 channel setup\n");
193 // left channel:
205 // right channel
312 GetOutputChannelType(int channel) argument
321 SetOutputChannelGain(int channel, float gain) argument
331 AddOutputChannelSource(int channel, int source_type) argument
352 RemoveOutputChannelSource(int channel, int source_type) argument
371 SetOutputChannelSourceGain(int channel, int source_type, float source_gain) argument
390 GetOutputChannelSourceGain(int channel, int source_type) argument
408 HasOutputChannelSource(int channel, int source_type) argument
[all...]
/haiku/src/apps/midiplayer/
H A DSynthBridge.cpp58 SynthBridge::NoteOff(uchar channel, uchar note, uchar velocity, bigtime_t time) argument
60 fMidiSynth.NoteOff(channel + 1, note, velocity, time / 1000);
65 SynthBridge::NoteOn(uchar channel, uchar note, uchar velocity, bigtime_t time) argument
67 fMidiSynth.NoteOn(channel + 1, note, velocity, time / 1000);
72 SynthBridge::KeyPressure(uchar channel, uchar note, uchar pressure, argument
75 fMidiSynth.KeyPressure(channel + 1, note, pressure, time / 1000);
80 SynthBridge::ControlChange(uchar channel, uchar controlNumber, argument
83 fMidiSynth.ControlChange(channel + 1, controlNumber, controlValue,
89 SynthBridge::ProgramChange(uchar channel, uchar programNumber, bigtime_t time) argument
91 fMidiSynth.ProgramChange(channel
96 ChannelPressure(uchar channel, uchar pressure, bigtime_t time) argument
103 PitchBend(uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
[all...]
H A DSynthBridge.h39 virtual void NoteOff(uchar channel, uchar note, uchar velocity,
42 virtual void NoteOn(uchar channel, uchar note, uchar velocity,
45 virtual void KeyPressure(uchar channel, uchar note, uchar pressure,
48 virtual void ControlChange(uchar channel, uchar controlNumber,
51 virtual void ProgramChange(uchar channel, uchar programNumber,
54 virtual void ChannelPressure( uchar channel, uchar pressure,
57 virtual void PitchBend(uchar channel, uchar lsb, uchar msb,
/haiku/src/add-ons/kernel/busses/ata/ide_isa/
H A Dide_isa.c46 // info about one channel
61 /*! publish node of an ata channel */
106 channel_info *channel = cookie; local
107 channel->ataChannel = ataChannel;
115 channel_info *channel = channel_cookie; local
116 uint16 ioaddr = channel->command_block_base;
119 if (channel->lost)
126 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i + 7]);
131 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i]);
143 channel_info *channel local
164 channel_info *channel = channel_cookie; local
177 channel_info *channel = channel_cookie; local
194 channel_info *channel = channel_cookie; local
221 channel_info *channel = channel_cookie; local
246 channel_info *channel = (channel_info *)arg; local
309 channel_info *channel; local
366 channel_info *channel = channel_cookie; local
408 channel_info *channel = cookie; local
[all...]
/haiku/src/apps/soundrecorder/
H A DVUView.cpp34 for (int channel = 0; channel < fChannels; channel++)
35 fCurrentLevels[channel] = 0;
123 for (int32 channel = 0; channel < 2; channel++) {
124 int32 level = fCurrentLevels[channel];
126 if (levels[i][channel].red >= 90) {
127 SHIFT_UNTIL(levels[i][channel]
181 _ComputeNextLevel(const void *data, size_t size, uint32 format, int32 channel) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/isa/arch/arm/
H A Disa_dma.c18 arch_start_isa_dma(long channel, void *buf, long transfer_count, argument
/haiku/src/add-ons/kernel/bus_managers/isa/arch/m68k/
H A Disa_dma.c18 arch_start_isa_dma(long channel, void *buf, long transfer_count, argument
/haiku/src/add-ons/kernel/bus_managers/isa/arch/ppc/
H A Disa_dma.c18 arch_start_isa_dma(long channel, void *buf, long transfer_count, argument
/haiku/src/add-ons/kernel/bus_managers/isa/arch/x86/
H A Disa_dma.cpp17 arch_start_isa_dma(long channel, void *buf, long transfer_count, argument
/haiku/src/add-ons/kernel/bus_managers/isa/arch/arm64/
H A Disa_dma.c18 arch_start_isa_dma(long channel, void *buf, long transfer_count, argument
/haiku/src/libs/compat/freebsd_network/
H A Dsynch.cpp20 struct cv channel; local
21 __cv_ConditionVariable(&channel)->Publish(identifier, description);
23 int status = cv_timedwait(&channel, mutex, timeout);
25 __cv_ConditionVariable(&channel)->Unpublish();
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAModule.cpp20 ATAChannel *channel = new(std::nothrow) ATAChannel(node); local
21 if (channel == NULL)
24 status_t result = channel->InitCheck();
26 TRACE_ERROR("failed to set up ata channel object\n");
27 delete channel;
31 *cookie = channel;
39 ATAChannel *channel = (ATAChannel *)cookie; local
40 delete channel;
47 ATAChannel *channel = (ATAChannel *)cookie; local
48 if (channel
58 ATAChannel *channel = (ATAChannel *)cookie; local
67 ATAChannel *channel = (ATAChannel *)cookie; local
82 ATAChannel *channel = (ATAChannel *)cookie; local
94 ATAChannel *channel = (ATAChannel *)cookie; local
106 ATAChannel *channel = (ATAChannel *)cookie; local
118 ATAChannel *channel = (ATAChannel *)cookie; local
138 ATAChannel *channel = (ATAChannel *)cookie; local
152 ATAChannel *channel = (ATAChannel *)cookie; local
161 ATAChannel *channel = (ATAChannel *)cookie; local
211 ATAChannel *channel = (ATAChannel *)cookie; local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DAbstractConnection.cpp50 // create upstream channel semaphore
84 AbstractConnection::AddDownStreamChannel(Channel* channel) argument
86 if (!channel)
88 return fDownStreamChannels.PushBack(channel);
93 AbstractConnection::AddUpStreamChannel(Channel* channel) argument
95 if (!channel)
98 status_t error = fUpStreamChannels.PushBack(channel);
101 PutUpStreamChannel(channel);
123 AbstractConnection::GetUpStreamChannel(Channel** channel, bigtime_t timeout) argument
125 if (!channel)
149 PutUpStreamChannel(Channel* channel) argument
[all...]
H A DPortConnection.cpp44 PortConnection::Init(Channel* channel, int32 upStreamChannels, argument
47 ObjectDeleter<Channel> deleter(channel);
51 // add the channel
52 error = AddDownStreamChannel(channel);
78 // create a client channel
79 PortChannel* channel;
80 error = _CreateChannel(&channel);
83 // add it as up stream channel
84 error = AddUpStreamChannel(channel);
86 delete channel;
145 Channel* channel = DownStreamChannelAt(0); local
192 PortChannel* channel = (info ? new(std::nothrow) PortChannel(info, inverse) local
[all...]
H A DInsecureConnection.cpp83 // create the initial channel
84 Channel* channel = new(std::nothrow) InsecureChannel(fd); local
85 if (!channel) {
90 error = AddDownStreamChannel(channel);
92 delete channel;
131 // open the initial channel
132 Channel* channel; local
133 error = _OpenClientChannel(serverAddr, port, &channel);
136 error = AddUpStreamChannel(channel);
138 delete channel;
188 InsecureChannel* channel local
337 Channel* channel = new(std::nothrow) InsecureChannel(fd); local
348 _SendErrorReply(Channel* channel, status_t error) argument
[all...]
/haiku/src/kits/midi/
H A DMidiText.cpp35 uchar channel, uchar note, uchar velocity, uint32 time)
39 "B_NOTE OFF; channel = %d, note = %d, velocity = %d\n",
40 channel, note, velocity);
46 uchar channel, uchar note, uchar velocity, uint32 time)
50 "B_NOTE ON; channel = %d, note = %d, velocity = %d\n",
51 channel, note, velocity);
57 uchar channel, uchar note, uchar pressure, uint32 time)
61 "KEY PRESSURE; channel = %d, note = %d, pressure = %d\n",
62 channel, note, pressure);
68 uchar channel, ucha
34 NoteOff( uchar channel, uchar note, uchar velocity, uint32 time) argument
45 NoteOn( uchar channel, uchar note, uchar velocity, uint32 time) argument
56 KeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) argument
67 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) argument
78 ProgramChange( uchar channel, uchar programNumber, uint32 time) argument
89 ChannelPressure(uchar channel, uchar pressure, uint32 time) argument
99 PitchBend(uchar channel, uchar lsb, uchar msb, uint32 time) argument
[all...]
H A DMidiGlue.cpp29 uchar channel, uchar note, uchar velocity, bigtime_t time)
31 fMidiObject->NoteOff(channel + 1, note, velocity, MAKE_TIME(time));
37 uchar channel, uchar note, uchar velocity, bigtime_t time)
39 fMidiObject->NoteOn(channel + 1, note, velocity, MAKE_TIME(time));
45 uchar channel, uchar note, uchar pressure, bigtime_t time)
47 fMidiObject->KeyPressure(channel + 1, note, pressure, MAKE_TIME(time));
53 uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time)
56 channel + 1, controlNumber, controlValue, MAKE_TIME(time));
62 uchar channel, uchar programNumber, bigtime_t time)
64 fMidiObject->ProgramChange(channel
28 NoteOff( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
36 NoteOn( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
44 KeyPressure( uchar channel, uchar note, uchar pressure, bigtime_t time) argument
52 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) argument
61 ProgramChange( uchar channel, uchar programNumber, bigtime_t time) argument
69 ChannelPressure( uchar channel, uchar pressure, bigtime_t time) argument
77 PitchBend( uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
122 NoteOff( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
130 NoteOn( uchar channel, uchar note, uchar velocity, bigtime_t time) argument
138 KeyPressure( uchar channel, uchar note, uchar pressure, bigtime_t time) argument
147 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) argument
156 ProgramChange( uchar channel, uchar programNumber, bigtime_t time) argument
165 ChannelPressure( uchar channel, uchar pressure, bigtime_t time) argument
173 PitchBend( uchar channel, uchar lsb, uchar msb, bigtime_t time) argument
[all...]
H A DMidi.cpp63 BMidi::NoteOff(uchar channel, uchar note, uchar velocity, uint32 time) argument
70 BMidi::NoteOn(uchar channel, uchar note, uchar velocity, uint32 time) argument
78 uchar channel, uchar note, uchar pressure, uint32 time)
86 uchar channel, uchar controlNumber, uchar controlValue, uint32 time)
93 BMidi::ProgramChange(uchar channel, uchar programNumber, uint32 time) argument
100 BMidi::ChannelPressure(uchar channel, uchar pressure, uint32 time) argument
107 BMidi::PitchBend(uchar channel, uchar lsb, uchar msb, uint32 time) argument
144 for (uchar channel = 1; channel <= 16; ++channel) {
77 KeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) argument
85 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) argument
263 SprayNoteOff( uchar channel, uchar note, uchar velocity, uint32 time) const argument
272 SprayNoteOn( uchar channel, uchar note, uchar velocity, uint32 time) const argument
281 SprayKeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) const argument
290 SprayControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) const argument
300 SprayProgramChange( uchar channel, uchar programNumber, uint32 time) const argument
309 SprayChannelPressure( uchar channel, uchar pressure, uint32 time) const argument
318 SprayPitchBend( uchar channel, uchar lsb, uchar msb, uint32 time) const argument
[all...]
H A DMidiSynth.cpp96 BMidiSynth::MuteChannel(int16 channel, bool do_mute) argument
110 BMidiSynth::SoloChannel(int16 channel, bool do_solo) argument
160 uchar channel, uchar note, uchar velocity, uint32 time)
163 be_synth->fSynth->NoteOff(channel, note + fTranspose, velocity, time);
169 uchar channel, uchar note, uchar velocity, uint32 time)
172 be_synth->fSynth->NoteOn(channel, note + fTranspose, velocity, time);
178 uchar channel, uchar note, uchar pressure, uint32 time)
182 channel, note + fTranspose, pressure, time);
188 uchar channel, uchar controlNumber, uchar controlValue, uint32 time)
192 channel, controlNumbe
159 NoteOff( uchar channel, uchar note, uchar velocity, uint32 time) argument
168 NoteOn( uchar channel, uchar note, uchar velocity, uint32 time) argument
177 KeyPressure( uchar channel, uchar note, uchar pressure, uint32 time) argument
187 ControlChange( uchar channel, uchar controlNumber, uchar controlValue, uint32 time) argument
197 ProgramChange( uchar channel, uchar programNumber, uint32 time) argument
206 ChannelPressure(uchar channel, uchar pressure, uint32 time) argument
214 PitchBend(uchar channel, uchar lsb, uchar msb, uint32 time) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DPortConnectionListener.cpp45 PortChannel* channel = NULL;
71 // create the initial channel
72 channel = new(std::nothrow) PortChannel(&request.channelInfo, true);
73 if (!channel)
75 if (channel->InitCheck() != B_OK) {
76 delete channel;
77 channel = NULL;
79 } while (!channel);
83 delete channel;
86 status_t error = connection->Init(channel, upStreamChannel
[all...]
/haiku/headers/os/midi/
H A DMidiSynth.h27 void MuteChannel(int16 channel, bool do_mute);
30 void SoloChannel(int16 channel, bool do_solo);
42 uchar channel, uchar note, uchar velocity, uint32 time = B_NOW);
45 uchar channel, uchar note, uchar velocity, uint32 time = B_NOW);
48 uchar channel, uchar note, uchar pressure, uint32 time = B_NOW);
51 uchar channel, uchar controlNumber, uchar controlValue,
55 uchar channel, uchar programNumber, uint32 time = B_NOW);
58 uchar channel, uchar pressure, uint32 time = B_NOW);
61 uchar channel, uchar lsb, uchar msb, uint32 time = B_NOW);
/haiku/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp47 set_channel(ata_adapter_channel_info *channel, ata_channel ataChannel) argument
49 channel->ataChannel = ataChannel;
54 ata_adapter_write_command_block_regs(ata_adapter_channel_info *channel, argument
57 pci_device_module_info *pci = channel->pci;
58 pci_device *device = channel->device;
61 uint16 ioaddr = channel->command_block_base;
63 if (channel->lost)
84 ata_adapter_read_command_block_regs(ata_adapter_channel_info *channel, argument
87 pci_device_module_info *pci = channel->pci;
88 pci_device *device = channel
108 ata_adapter_get_altstatus(ata_adapter_channel_info *channel) argument
122 ata_adapter_write_device_control(ata_adapter_channel_info *channel, uint8 val) argument
140 ata_adapter_write_pio(ata_adapter_channel_info *channel, uint16 *data, int count, bool force_16bit) argument
168 ata_adapter_read_pio(ata_adapter_channel_info *channel, uint16 *data, int count, bool force_16bit) argument
198 ata_adapter_channel_info *channel = (ata_adapter_channel_info *)arg; local
239 ata_adapter_prepare_dma(ata_adapter_channel_info *channel, const physical_entry *sgList, size_t sgListCount, bool writeToDevice) argument
294 ata_adapter_start_dma(ata_adapter_channel_info *channel) argument
315 ata_adapter_finish_dma(ata_adapter_channel_info *channel) argument
354 ata_adapter_channel_info *channel; local
456 ata_adapter_uninit_channel(ata_adapter_channel_info *channel) argument
474 ata_adapter_channel_removed(ata_adapter_channel_info *channel) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DAbstractConnection.h23 status_t AddDownStreamChannel(Channel* channel);
24 status_t AddUpStreamChannel(Channel* channel);
29 virtual status_t GetUpStreamChannel(Channel** channel,
31 virtual status_t PutUpStreamChannel(Channel* channel);
/haiku/headers/private/kernel/boot/arch/x86/
H A Darch_cpu.h20 void determine_cpu_conversion_factor(uint8 channel);

Completed in 99 milliseconds

1234567