[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


Why do you need to run "dd conv=swab" on the output of "cdrdao read-cd" to get mplayer to play it
>>
>>108630404
Nevermind, I figured it out

https://github.com/cdrdao/cdrdao

The output file will always contain raw signed 16 bit audio samples with MSB-LSB (big endian) byte order. If the byte order of the output file is not MSB-LSB you will have to use the driver option '0x20000', e.g. --driver 0x20000. Please do not try to use --swap for writing in this case because the byte order of the audio samples that are fed to the paranoia library is wrong, too, which will cause malfunction of the paranoia library routines.
>>
File: block.jpg (54 KB, 976x850)
54 KB JPG
>>108630419
>big indian
>>
>>108630419
most modern hardware is little endian and standard cd data is big endian so indeed you gotta endian swap it if you just read it raw, unless you have an ancient apploo machine or a 6th generation console running linux
>>
>dd
I will never, ever, ever run this.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.