22 February 2022, 20:24 | #1 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,300
|
Stereo sound with audio.device
A long time ago I looked up how you can make stereo sound with audio.device. According to the example I found, you have to make two copies of the main IOAudio request with new ports, and mask out the io_Unit field to have the correct channel number. This works reasonably well, but since you have to call BeginIO twice, once for the left and once for the right channel, sometimes they can be slightly out of phase with each other, producing an echo-like effect.
Is there any way to ensure the IORequests for the two channels start at the same time, or maybe I'm better off using audio.device to just allocate the channels and then bang the hardware instead? |
22 February 2022, 21:37 | #3 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,300
|
Thanks this is exactly what I was looking for. I completely missed STOP/START, even though I used this wiki page a lot
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing stereo sound in FS-UAE [Solved] | yesplease | support.FS-UAE | 20 | 22 January 2013 07:11 |
[Bug]Sound - stereo separation 0% = 100% | NoX1911 | support.WinUAE | 3 | 29 May 2011 09:40 |
FOR SALE: Amiga TechnoSound Turbo 2 - Stereo Sound Sampling System | LDR | MarketPlace | 1 | 03 March 2009 12:44 |
Wide Stereo Sound | xtc | request.UAE Wishlist | 14 | 10 July 2004 20:16 |
Stereo sound problem | andreas | support.WinUAE | 0 | 26 March 2004 19:14 |
|
|