{"action":"created","issue":{"url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/4","labels_url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/4/comments","events_url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/4/events","html_url":"https://github.com/lintweaker/xmos-native-dsd/issues/4","id":115831801,"number":4,"title":"Support for aune X1S USB DAC and C-Media Electronics Inc. Hegel USB Audio B","user":{"login":"c--w","id":647855,"avatar_url":"https://avatars.githubusercontent.com/u/647855?v=3","gravatar_id":"","url":"https://api.github.com/users/c--w","html_url":"https://github.com/c--w","followers_url":"https://api.github.com/users/c--w/followers","following_url":"https://api.github.com/users/c--w/following{/other_user}","gists_url":"https://api.github.com/users/c--w/gists{/gist_id}","starred_url":"https://api.github.com/users/c--w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c--w/subscriptions","organizations_url":"https://api.github.com/users/c--w/orgs","repos_url":"https://api.github.com/users/c--w/repos","events_url":"https://api.github.com/users/c--w/events{/privacy}","received_events_url":"https://api.github.com/users/c--w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-09T08:43:57Z","updated_at":"2015-11-09T11:09:36Z","closed_at":null,"body":"Did I understood correctly that each device has to be explicitly added to your patch?\r\n\r\nI have:\r\nLinux 4.1.10-rt11-1-rt #1 SMP PREEMPT RT  (compiled few days ago) (Arch Linux)\r\nI have your latest 0.19.10 patch for MPD (btw it doesn't compile because I have automake 1.15 and it expects 1.14 so I had to tweak this)\r\nMy outputs are: \r\n\r\nC-Media Electronics Inc. Hegel USB Audio B at usb-0000:00:1d.0-1.7, high speed : USB Audio\r\n\r\nPlayback:\r\n  Status: Running\r\n    Interface = 1\r\n    Altset = 2\r\n    Packet Size = 156\r\n    Momentary freq = 192000 Hz (0x18.0000)\r\n    Feedback Format = 16.16\r\n  Interface 1\r\n    Altset 1\r\n    Format: S16_LE\r\n    Channels: 2\r\n    Endpoint: 5 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000\r\n    Data packet interval: 125 us\r\n  Interface 1\r\n    Altset 2\r\n    Format: S24_3LE\r\n    Channels: 2\r\n    Endpoint: 5 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000\r\n    Data packet interval: 125 us\r\n  Interface 1\r\n    Altset 3\r\n    Format: SPECIAL\r\n    Channels: 2\r\n    Endpoint: 5 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000\r\n    Data packet interval: 125 us\r\n\r\n\r\nand\r\n\r\n\r\naune X1S USB DAC at usb-0000:00:1d.0-1.7, high speed : USB Audio\r\n\r\nPlayback:\r\n  Status: Running\r\n    Interface = 1\r\n    Altset = 1\r\n    Packet Size = 392\r\n    Momentary freq = 352804 Hz (0x2c.19b8)\r\n    Feedback Format = 16.16\r\n  Interface 1\r\n    Altset 1\r\n    Format: S32_LE\r\n    Channels: 2\r\n    Endpoint: 1 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000\r\n    Data packet interval: 125 us\r\n  Interface 1\r\n    Altset 2\r\n    Format: S32_LE\r\n    Channels: 2\r\n    Endpoint: 1 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000\r\n    Data packet interval: 125 us\r\n  Interface 1\r\n    Altset 3\r\n    Format: SPECIAL\r\n    Channels: 2\r\n    Endpoint: 1 OUT (ASYNC)\r\n    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000\r\n    Data packet interval: 125 us\r\n\r\n\r\nIn mpd log I get: \r\nNov 09 09:21 : alsa_output: opened hw:0,0 type=HW\r\nNov 09 09:21 : alsa_output: format=S32_LE (Signed 32 bit Little Endian)\r\nNov 09 09:21 : alsa_output: buffer: size=90..131072 time=255..371520\r\nNov 09 09:21 : alsa_output: period: size=45..65536 time=127..185760\r\nNov 09 09:21 : alsa_output: default period_time = buffer_time/4 = 371519/4 = 92879\r\nNov 09 09:21 : alsa_output: buffer_size=131072 period_size=32768\r\nNov 09 09:21 : output: opened plugin=alsa name=\"Card0\" audio_format=352800:32:2\r\nNov 09 09:21 : output: converting from 352800:dsd:2\r\n\r\nfor aune and\r\n\r\nNov 09 09:16 : alsa_output: opened hw:0,0 type=HW\r\nNov 09 09:16 : alsa_output: format=S24_3LE (Signed 24 bit Little Endian in 3bytes)\r\nNov 09 09:16 : alsa_output: buffer: size=48..174762 time=250..910219\r\nNov 09 09:16 : alsa_output: period: size=24..87381 time=125..455110\r\nNov 09 09:16 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000\r\nNov 09 09:16 : alsa_output: buffer_size=96000 period_size=24000\r\nNov 09 09:16 : libsamplerate: setting samplerate conversion ratio to 0.54\r\nNov 09 09:16 : output: opened plugin=alsa name=\"Card0\" audio_format=192000:24:2\r\nNov 09 09:16 : output: converting from 352800:dsd:2\r\n\r\nfor Hegel\r\n\r\nPlaying the same file.\r\n\r\nWhat should I do? Where to look next?\r\nIs there a way to get alsa drivers detailed log to see why it insists on conversion?\r\n\r\nThanks for your work on the patch!\r\n\r\nRegards\r\nŽeljko Vranić\r\n(zeljkovranic at gmail)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/comments/155030329","html_url":"https://github.com/lintweaker/xmos-native-dsd/issues/4#issuecomment-155030329","issue_url":"https://api.github.com/repos/lintweaker/xmos-native-dsd/issues/4","id":155030329,"user":{"login":"c--w","id":647855,"avatar_url":"https://avatars.githubusercontent.com/u/647855?v=3","gravatar_id":"","url":"https://api.github.com/users/c--w","html_url":"https://github.com/c--w","followers_url":"https://api.github.com/users/c--w/followers","following_url":"https://api.github.com/users/c--w/following{/other_user}","gists_url":"https://api.github.com/users/c--w/gists{/gist_id}","starred_url":"https://api.github.com/users/c--w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c--w/subscriptions","organizations_url":"https://api.github.com/users/c--w/orgs","repos_url":"https://api.github.com/users/c--w/repos","events_url":"https://api.github.com/users/c--w/events{/privacy}","received_events_url":"https://api.github.com/users/c--w/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T11:09:36Z","updated_at":"2015-11-09T11:09:36Z","body":"I found this:\r\nhttp://www.gossamer-threads.com/lists/linux/kernel/2255270\r\n\r\nSo, this patch is just to indicate in quirks.c that found device supports DSD native? Can I add it myself with values you mentioned? (just for myself - you can publish these patches as you intended)"}}